0

I have a multipage Sitecore Form and created a custom Form Element for the same and added it. It has 2 submit buttons:

enter image description here

  1. the 'Register User' button will redirect to some URL(handled by javascript in the cshtml)

  2. for the 'Continue as guest', I want to add functionality to this button's on-click so that it goes to the next page of the Sitecore Form.

How do I accomplish point 2?

I know the OOTB feature is there to add the navigation step 'Next'. But these buttons are coming from the Custom form element (cshtml)so how do I apply the same 'Next' functionality.

1 Answer 1

0

I think you can refer this and utilize the custom scripts method described. You can easily use the method described in the lines "call js function from external file" which in your case would the cshtml file of yours.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.