Hey All - I have a form that is on a page with shortcut links to the different sections. For example, this form shortcut is https://www.mydomain.tld/page-url/#calculator
When the form is submitted, I pass a few strings via API to an application, such as category and user, so the final url redirect looks like: https://www.mydomain.tld/redirect-url/&cat=33&usr=43
What is happening when using the shortcut links on the page, is that the shortcut is appending itself to the URL, and submissions are failing. Ex: https://www.mydomain.tld/redirect-url/&cat=33&usr=43#calculator
Does anyone know how I can strip the #calculator from redirected url? I've tried to add another variable, I've tried sanitizing and using other features set in formidable, but can't seem to get it to work.
Thanks in advance,
Mark
If the #calculator is acting as an anchor to the section, moving the user down the page to that section, then stripping the URL will stop that. You'll probably want to instead create some jQuery/JS logic to move you about the page depending on the actions prior.
Please login or Register to submit your answer