TOPIC:

Opening a external URL from a button on my form 10 years 5 months ago #69086

  • Topic Author
  • jward
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 22
  • Thanks: 0
Hi,

I'm new to breezing forms and I thought I saw this in the form but it didn't work.
Was using the 173 build but just got the upgrade package.

This was the code I thought would work but doesn't with 173.

Please let me know what I'm doing wrong.
thanks,

function ff_signupButton_action(element, action)
{
switch (action) {
case 'click':
location.href=" www.signupgenius.com ";
break;
default:;
} // switch
} // ff_signupButton_action

Please Log in or Create an account to join the conversation.

Re: Opening a external URL from a button on my form 10 years 5 months ago #69154

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10062
  • Karma: 167
  • Thanks: 809
Hi,

the code looks ok, I guess you tried that in preview mode? If yes, then this might be the reason. The latest browsers won't let you redirect to another website within an iframe even if you as site owner specified it in your own html/js sources.

Since the preview is executed in an iframe the redirect won't work.

Please open the form on the live site and see if it does the redirect.

If it still doesn't then please open firefox error console and see if you find any javascript related errors.

Regards,
Markus

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.045 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!