
Hi all:
I am working on an ADX v7 project and I have a Portal Entity Form with a “Status” option set on it, and depending on the selection made in the option set, I to use jQuery to add/remove options from the Option Set, and then set a bunch of the fields on the form read-only, but I have hit a few snags. The Option Set Code works fine, but when I try to set fields to read only, I cannot disable the “Arrow” icon on drop-downs so the user can make changes anyway. I have been able to hide the “Magnifier” for lookups, but again the user can click in the accompanying text box and delete the value. I also tried setting the fields to disabled, using $("#<fieldname>n" ).prop( 'disabled', true ); but then I have found that the form loses the values in those fields when the user clicks the Submit button. Any and all ideas appreciated!
*This post is locked for comments
I have the same question (0)Hi,
Don't disable field, it will post as blank. Just hide TD of that row.
Please mark this answer as verified. :)
Thanks,
Sandeep