Enabling/disabling form fields [message #1284497] |
Fri, 04 April 2014 14:52 |
davide . Messages: 12 Registered: March 2014 |
Junior Member |
|
|
Hello there. In my application I'd like to enable or disable (content gets "greyed-out" or maybe change buttons icons, ...) some form fields according to business logic. for example, when I open a form to insert data for a new db record, I'd like to disable or hide the id field. But using the same form I'd like to show the id field when the very same form is opened to view or modify a db record.
In a similar way I'd like to enable/disable or show/hide some other input widgets (buttons, text fields, ...) or group of widgets according to user input or click.
How can I accomplish this in scout forms?
thanks in advance
[Updated on: Fri, 04 April 2014 14:53] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04855 seconds