Two linked Select dropdown fields

  • hambakwe
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 45
  • Thank you received: 0

hambakwe created the topic: Two linked Select dropdown fields

What I have set up so far is based on reading other forum posts and I'm sure I've made a simple error somewhere and that someone will spot it immediately!

I have a new form which starts with two linked selectors 'selecttype' and 'select1' (elem10220).

'selecttype' has hard values 0;Individual;Invididual . 0;Joint;Joint 0;Corporate;Corporate and it shows just fine in preview.

The 'select1' the second selector does not show in the form (but will if I add selector values - I did this to get its elem number).

As per the forum articles I have created an Action Script on the first selector (pic attached) and I have created a 'fundselect.php' (pic attached) file in the root which the Action Script calls.

Ive tried swapping values but can't get it to run. As I say, I'm sure it is simple and I'm just snow blind.

Any help much appreciated

#238910
Attachments:
  • Posts: 2993
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: Two linked Select dropdown fields

Hello,

At first glance, I don't see any errors in the code.

Please test this code once more, but just predefine at least one option to the 'select1' list like this
0;test;test

Also, could you send me link to your form so I can see whether there are some errors in the console?

Regards,

Mihaela
#238926
The following user(s) said Thank You: hambakwe
  • hambakwe
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 45
  • Thank you received: 0

hambakwe replied the topic: Two linked Select dropdown fields

Mihaela,

Thanks for the quick reply. I've added an option in select1 and it shows now.

Here is a link to the form on a test page: proliquidity.com/crosstec-select-tester
#238930
Time to create page: 0.247 seconds

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription 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 for just 49! (Summer Sale)

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

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