• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Unique selection from multiple drop-down lists

Unique selection from multiple drop-down lists 12 years 1 month ago #22051

  • steve51
  • steve51's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I have a form with 5 dropdowns (First Choice, Second Choice, etc). Each drop-down has the same 5 items listed in it (Item 1, item 2, etc.) The end user will use this to select their preference from among the 5 items (their first choice, second choice, etc.)

Is there any way to verify that the user doesn't select the same item twice? In other words, if the user selects item 1 in the drop down "First Choice" is there any way to ensure that they can't select Item 1 again in the dropdown "Second Choice"?

By the way, I'm using RSForm Pro 1.4.0 R44 for Joomla 1.5 if that makes a difference. Thank you!
The administrator has disabled public write access.

Unique selection from multiple drop-down lists 12 years 1 month ago #22116

  • hbesri
  • hbesri's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
I have exactly the same issue. If anyone can help.
The administrator has disabled public write access.

Unique selection from multiple drop-down lists 12 years 1 month ago #22118

  • steve51
  • steve51's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
From RSJoomla support:

This could be achieved, but it will require custom scripting. One option would be to add a validation script in the "Scripts called on form process" that will make sure that the items from your 5 fields are different. You can use the $invalid variable in order to trigger a validation error if a duplicate is found, an example on this topic can be found here:

www.rsjoomla.com/support/documentation/v...602-php-scripts.html
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!