PDA

View Full Version : Loading Form Data from service on Load



sridhar.boganathan
15 Mar 2012, 9:49 PM
Hi All,

As per my requirement, I need to load the form data from server script on loading of form itself. I am trying to use <form>.load(<options>) with url in <options> / <form>.loadRecord(model) by creating model with fields and XML reader. Assume, my xml string is in local<http://localhost/formData.xml>.

Please advice,
Sridhar

khmurach
16 Mar 2012, 5:37 AM
Form load json demo - http://ext4all.com/post/form-data-loading-example

sridhar.boganathan
18 Mar 2012, 12:03 AM
Thanks, As per my requirement, I need to load form data on loading form itself not from the clicking on the Load button.

khmurach
18 Mar 2012, 1:31 AM
What do you mean "on loading form itself"? On render event?

khmurach
18 Mar 2012, 1:41 AM
Demo here http://ext4all.com/post/loading-form-data-from-server-on-load