Hi,
It would be great if we could have this option. Per example let's say I have a drop down with 3 values: Uk, Us, Other country.
When selecting Other country, a new field should appear for manual text input.
Thank you.
When selecting *Other from dropdown, create new field for text input
-
- Posts: 12
- Joined: 2014-02-03 12:20
Re: When selecting *Other from dropdown, create new field for text input
The way I do it in such situations:
Have 2 fields, a dropdown and an input. If user selects "Custom" from dropdown, I use the value from the input field, otherwise the selected dropdown item.
You can even use javascript to hide the input if option != "Custom".
Many times I have a third readonly field. After insert or after update I check the selected dropdow value and take whether the selected option OR the value from my custom input field and put it into the third field. Having this third field makes it easier for calculations or for lookups from other tables.
Hope this gives you a starting point.
Best regards,
Jan
Have 2 fields, a dropdown and an input. If user selects "Custom" from dropdown, I use the value from the input field, otherwise the selected dropdown item.
You can even use javascript to hide the input if option != "Custom".
Many times I have a third readonly field. After insert or after update I check the selected dropdow value and take whether the selected option OR the value from my custom input field and put it into the third field. Having this third field makes it easier for calculations or for lookups from other tables.
Hope this gives you a starting point.
Best regards,
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Posts: 12
- Joined: 2014-02-03 12:20
Re: When selecting *Other from dropdown, create new field for text input
Thanks. I also use two fields. Maybe this option can be implemented in the future.