1 Reply Latest reply: Jun 16, 2010 9:53 AM by Chuck Myers (Adobe) RSS

    Want only the user entered values on the xml generated by clicking the button

    Manjula Vardhan

      data.png

      Hi All,

       

      Here goes the details of the problem.

       

      1. I have created two textfields(texttfield3 and textfield4) along with an email button in a fragment and binded to an XSD file.textfield3 and textfield4 are user entered fields.

       

      2. On the design page I have created two more fields texfield1 and textfield2 and binded to another XSD.These two fields are read only fields.

       

      3. On preview PDF screen whenever you click on the email button,you get a mail option with an xml file attached to it.

       

      4. whenever you open the xml file,you will get the values of all the four fields.Its given below

       

      <form1>

      <TextField1>value1</TextField1>

      <TextField2>value2</TextField2>

      <TextField3>value3</TextField3>

      <TextField4>value4</TextField4>

      </form1>

       

      5.But I want only user entered fields to be displayed on the xml page i.e

       

      <form1>

      <TextField3>value3</TextField3>

      <TextField4>value4</TextField4>

      </form1>

      6.How can I remove or avoid the read only fields not to be displayed on the xml page???

       

      Thanks in advance