• 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: Dropdown box

Dropdown box 12 years 3 months ago #21262

Is there anyway to add a description option to a dropdown box that is the default and if left selected will not validate? Example would be a dropdown box with choices "Please select", "Yes", "No". In this case only Yes and No would validate and let the form submit. If "Please select" is the selection is won't validate and not submit the form.

Thanks!
The administrator has disabled public write access.

Dropdown box with description label 12 years 3 months ago #21376

Figured this out. If you want the dropdown to validate and use a description label as the first item, just use the value1|label1 format but don't enter a value for the description label (not even a space). You only need to use the value|label format for the description item. The rest will use the label as the value.

|State
Alabama
Alaska
Arizona
Arkansas
California
The administrator has disabled public write access.

Dropdown box with description label 12 years 2 months ago #21497

  • benblee
  • benblee's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Thank you for replying with solutions when you find them!

It's much appreciated and now you know it's helped out at least one more person! :)
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!