Avatar

Level 1

I did try your option Paul, but it did not work. when I convert to XML using the code provided by you, thed data entered in the textbox is not to be seen when I view it.

I am saving the entered value in the text field as XML string and passing the value to a textfield just to view the XML. Now I edit the XML to change the entered values. Suppose I entered HEllo and I create the XML, then I try to change it to HI in the XML code. Now I hit on LoadXML to load this XML back to that field. So now I need to see HI in the field. but it is not reflecting.

I use the following code to saveXML -

var

sXML = data.Page_1.TextField1.saveXML();

TextField2.rawValue

= sXML;

and to a load back I use -

var

dataToLoad = TextField2.rawValue;

app.alert(dataToLoad);

data.TextField1.loadXML(dataToLoad

,0,1);

saveXML.GIF

But it doesnt seem to work. Any idea on how to make this work. Your suggestions are appreciated and rewarded.