Hi Alim,
Thank you for waiting.
> When editing a form, how do I open it in a new tab?
- To open the form in a new tab, you can update shortcode for the form's edit link from:
[toolset-edit-post-link content_template_slug='my-optical-store' target='self']Edit[/toolset-edit-post-link]
To:
[toolset-edit-post-link content_template_slug='my-optical-store' target='blank']Edit[/toolset-edit-post-link]
Ref: https://toolset.com/documentation/user-guides/front-end-forms/cred-shortcodes/#toolset-edit-post-link
> The form that opens up didn't seem to have a CANCEL option.. so the user seems to be forced to make some changes and SUBMIT... what if the user wanted to CANCEL? There seemed to be no CANCEL button.. please advise if it's some setting.
- The cancel button, in this case, would mean a link that returns back to the "My Account" page.
You can include an "HTML content" block at the bottom of your form fields and add a link to my account page:
( screenshot: versteckter Link )
<a href="[wpv-post-url item='26233']">Cancel</a>
Note: "26233" is the ID of the "My Account" page.
Ref: https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-post-url
> Also the redirection on SUBMIT.. If the form was not opened in a new Tab, I'd like it to come back to my accounts page. How do I do this?
- For automatic redirection to the "My Account" page after the form's submission, you can change the option "After visitors submit this form" to go to a specific page and select the "My Account" page.
( screenshot: versteckter Link )
Alternatively, if you'd like to keep showing the custom message "The Page has been updated." after the form's submission, you can include a link to "My Account" page the same way as explained above, below your custom message, so that visitors can click it and go back.
regards,
Waqar