on 09-05-2007 9:22 AM
I have a submit button, clicking on it sends XML to an email address.
XML has this :
<OBSERVATION_CODE>
- <DATA xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:dataNode="dataGroup">
<ATWRT>zz</ATWRT>
<ATWTB>By zzzzzz (CAWS/MWSS</ATWTB>
</OBSERVATION_CODE>
I want to remove <OBSERVATION_CODE> and everything belongs to it.
Is there a way to edit xml before submit?
Hello Rifai,
My XML file has the following structure:
<ZZ_CM_FORM01>
<HEADER>
<ORDER_NR>1000</ORDER_NR>
.......
</HEADER>
</ZZ_CM_FORM01>
Use the following javascript:
var oNode = xfa.resolveNode("xfa.record.HEADER");
xfa.record.nodes.remove(oNode);
Kind Regards,
Pelaez Lopez Philippe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.