• 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: Edit dropdown value, possible ?

Edit dropdown value, possible ? 12 years 11 months ago #17294

  • nettemor
  • nettemor's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
Hi,
I need a dropdown which should be editable, is this possible?

Ex: i have 5 predefined values in a dropdown box. If none of these applies to the user, they should be able to select a value called something like "-- write your value here---" where the user can type the needed value.

How can i achieve something like this?
The administrator has disabled public write access.

Re: Edit dropdown value, possible ? 12 years 10 months ago #17685

  • servicefly
  • servicefly's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Thank you received: 1
Did you ever get an answer to this?
The administrator has disabled public write access.

Re: Edit dropdown value, possible ? 12 years 10 months ago #17781

Hello,

Just use the show/hide field example to create a hidden field which become visible when they choose for example "Other".
www.rsjoomla.com/support/documentation/v...-or-hide-fields.html
Regards
Wilco Alsemgeest

Please note: my help is not official customer support. To receive your support, submit a ticket by clicking www.rsjoomla.com/my-support-tickets.html
The administrator has disabled public write access.

Re: Edit dropdown value, possible ? 12 years 9 months ago #18284

  • servicefly
  • servicefly's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Thank you received: 1
I'm sorry but the show-hide field isn't the solution. I need a dropdown list that is editable to insert new value into the list (DB table) once submitted. I'm pretty sure it is a javascript function.
The administrator has disabled public write access.

Re: Edit dropdown value, possible ? 12 years 8 months ago #18300

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
This is indeed possible but some scripting knowledge will be required. Basically you will have to use the PHP Scripts > Scripts called after form process area. You will have to update the _rsform_properties table with the extra item.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re: Edit dropdown value, possible ? 12 years 8 months ago #18310

  • servicefly
  • servicefly's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Thank you received: 1
After forms processed??

I would think I need javascript function to allow field to let input be typed into the field even though it is a drop down. Then whatever is in the field is sent to the DB.

Another way is to turn a text field into an AJAX auto-suggest field for search like functions or pre-fill function. Of course I am actually surprised you don't already have these fields exist yet!?

Anyway, i will do more research and hopefully post a solution on here one of these days.
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!