Hi,
I am having a submit button linked to a dataset and upon submit succedded i want the page to be redirected to memberspage but when i do that i am getting the following error:
Wix code SDK error: undefined/myoffers is an unsupported url
Please help me solve it.
As you are posting this in the Wix Corvid Forum, then can we assume that you have used code for this? If so, then you need to be pasting up any code that you have used for it in your original post.
If you have just used the submit button through the Wix Editor itself, then you can simply add the link that you want the user to move onto after the form has been submitted.
https://support.wix.com/en/article/adding-a-submit-button-to-your-form
Also, make sure that you actually do have the page with the URL of myoffers in your site and it is not actually something like my-offers etc.
If this is the case then you should be going through Wix Support as that is not a code related issue.
https://support.wix.com/en/article/contacting-wix-support
If you are doing the save through code with a Wix DatasetAPI and the Save function for example.
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#save
Then you need to use the Wix Location API and the to function after it has been saved to move the user onto the specific page.
https://www.wix.com/corvid/reference/wix-location.html#to
Examples
Navigate to a local link
import wixLocation from 'wix-location'; // rest of code // wixLocation.to("/about-me");