Action script gives "Not found" error

  • MikeDiggins
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0

MikeDiggins created the topic: Action script gives "Not found" error

Could you take a look at the attached bits.txt (actually an xml package), please? Since updating to Joomla 3.9.4, I'm getting a "not defined" error on the actions scripts for any field and I can't see any obvious coding errors.
The package has been created from scratch, but is a cut down version of the form I first found the error in. From experience, it looks as if the form's Init script is not compiling but I can't see any obvious errors. The value you supply for club number is not relevant.
#236023
Attachments:
  • Posts: 5688
  • Karma: 118
  • Thank you received: 526

MarioPuco replied the topic: Action script gives "Not found" error

Hi Mike,

Do you maybe have a website where you have this form "live" ?

Regards,
mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#236025
  • MikeDiggins
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0

MikeDiggins replied the topic: Action script gives "Not found" error

I do, Marco, at www.toastmasters-clubfinder.org.nz/
I've set you up a login for just that form -removed by admin
The menu option is "Set Officers for next TM Year".

Many thanks
Mike
#236057
  • Posts: 5688
  • Karma: 118
  • Thank you received: 526

MarioPuco replied the topic: Action script gives "Not found" error

Hi there,

The only error I see is when I press "View details" without choosing Province or City on Form page 1.



I think it's related to your Ajax Call that populates the fileds, so that's a good starting point where you should look.
But if you choose "Province or City" this error is gone...

What you should do is add validation to these select lists items : crosstec.org/en/support/online-documenta...g-form-elements.html

Hope this helps.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#236070
Attachments:
  • MikeDiggins
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0

MikeDiggins replied the topic: Action script gives "Not found" error

Thanks Mario
You're right - but that's not the form I'm querying. If you log in with the credentials (Name = Crosstec, pwd = 9999888) I gave in my earlier post, an additional "Members menu" item comes up, in which you'll see the option "Set Officers for new TM Year" (see the attached graphic). Its the action script in that form - called by the "blur" action, there should be an entry for "Club number" but its value doesn't matter for now - that is giving the "not found" error. Apologies for any confusion caused.
Mike
#236075
Attachments:
  • Posts: 5688
  • Karma: 118
  • Thank you received: 526

MarioPuco replied the topic: Action script gives "Not found" error

Mike,

Allrite, I see the form and from the Initalization I can see this error :

Illegal break statement

As I know break is used to break out of loops, so if you have any scripts inside this form you should look for it and remove it/change it.

Let me know how it goes.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#236076
Moderators: ForumSupporttomeperica
Time to create page: 0.181 seconds

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here

News and Updates

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

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99€

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!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here