Use of ff_validate_submit

  • Posts: 192
  • Thank you received: 1

ooc created the topic: Use of ff_validate_submit

I have a form that presents a waiver and once the waiver is agreed to gives the user a link to another page. That is all it does so I have used just one page and would like to keep it as just the one page. However, I would like to validate and submit the form (so I have the information in the database) and send the user to the new page all in one click. Is this possible? I have attached the form and it can be seen at ottawaoc.ca/index.php/maprun

File Attachment:

File Name: MapRunF.zip
File Size:17 KB
#240827
Attachments:
  • TheMuffinMan
  • TheMuffinMan's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 8404
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Use of ff_validate_submit

Hi,

if you just want to redirect to a new page/site, you can do it like this:

crosstec.org/en/forums/3-breezingforms-f...ing-form.html#215480

Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#240837
  • Posts: 192
  • Thank you received: 1

ooc replied the topic: Use of ff_validate_submit

Thank you Marcus. That helped but the submit button is available before agreeing to the waiver. (insertion of a ReCaptcha into the hidden section forces the agreement but is kind of clunky - getting an error with regard to a Recaptcha that the visitor can't even see yet) When the waiver is agreed to, a section becomes available and the ability to get to the other page would be best to be in that section. I tried a submit button within it the section but it doesn't work - the only error message is ff_myformname_init is not defined. This appears only if I click on the submit button. If I click on the submit button that is outside the section (generated by the 'include submit button') it does submit and takes me to the new page but with an error on the screen saying
Error
Invalid address (addAnAddress to):

Again, this can all be seen at ottawaoc.ca/index.php/maprun-waiver . I can send the form again if that would help.
#240846
  • Posts: 192
  • Thank you received: 1

ooc replied the topic: Use of ff_validate_submit

All is good now. I got the ff_validate_submit to work properly but the error message still showed up. I found it had something to do with the admin mailback address. I removed the semi-colon following the address and the error msg went away. Sorry to have bothered you further with this and thanks for your help.
#240854
Moderators: ForumSupport
Time to create page: 0.050 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!