I have a cred commerce form setup with a single radio field named "application-fee-waiver". I'd like to use some logic to determine where the form redirects based on the value of the "application-fee-waiver" field. For instance:
if "application-fee-waiver" has value 1, save and display the post
if "application-fee-waiver" has value 2, save and continue to checkout page
I've started with the submit filter like below but don't know how get the url to display the post or continue to the checkout if the value is "2":
Thanks for the information - Please note that for the redirection hooks to work, the form must be set to redirect to a "specific page" or a "post" after the submission. If for example, the form options are set to “Keep displaying this form” or “Display a message instead of the form” after submission, the redirection hook will not work.
Also, I would like to have problem URL as I need to check what URL param its passing. Is it possible for you to send me access details?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.