I have a multipage sitecore Form and created a custom Form Element for the same and added. It has 2 submit button:
for the 'Continue as guest' , I want to add functionality to this button's onclick so that it goes to the next page of the Sitecore Form.
How do I accomplish point 2.
I know ootb feature is there to add the navigation step 'Next'. But these buttons are coming from Custom form element (cshtml)so how do i apply the same 'Next' functionality.