Try our conversational search powered by Generative AI!

Code for Xform button click???

Vote:
 

Hi Guys,

         Using X-form property i created one login form which contain username,password text boxex and login button, when user click on login button, i want to perform some actions using logic. can anyone help me out of this.

Thnaks,

Kartheek 

#180043
Jun 29, 2017 5:40
Vote:
 

It's not very common that you use XForms to create system forms (such as a login functionality).

Do you need to store the posted data somewhere? Does the editor need to add or edit fields in the form?

If not, isn't it better to create a custom form for that?

If you still have the need to use XForms I think it would be best to hook up to the Submit Events in XForms. For example Before or AfterSubmitPostedData

http://world.episerver.com/documentation/Class-library/?documentId=cms/10/B867AAF

Read more about XForms here:

http://world.episerver.com/documentation/developer-guides/CMS/forms/xforms-legacy-functionality/

#180078
Jun 29, 2017 12:41
* 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.