November Happy Hour will be moved to Thursday December 5th.

XFrom data

Vote:
 

hi,

i want to show some of the data that user write to me in the Xfrom property such as region

a created a new Xfrom with two textboxes  "user" and "region"

how can i get the posted data from Xfrom?

ex: thank you "user" and you from "region" (that user write to me in the Xfrom).

#25445
Oct 26, 2008 10:57
Vote:
 

Hi,

although the code sample is for episerver4 i believe the same principle applies for v5.I.e. use the aftesubmit event and use e.formdata.getvalues(); 

http://world.episerver.com/en/Download/Code-Samples/XForms/XForm-with-event-attachment/

#25447
Oct 26, 2008 19:31
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.