Hi – I can’t find in docs or forum an answer to this. Based on inputs to inputs on a custom form, I want to change what the follow-up page would be when the form is submitted.
Can the “Choose a link” property of the Connect to Data properties of a button be changed in code?
It is not the link property of a button. Is it on the dataset? Or somewhere in between
I believe I could disconnect the button from the dataset and use OnClick() to save() the dataset and then wixLocation.to u[/u] to navigate to pages based on the field values. But it seems like I should be able to change the “Choose a link” property somehow. Then the navigation will happen when a submit is successful with a lot less code for me!
Thanks
Ken