If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
No announcement yet.
Change from Required to Not Required and visa-versa
How would identify that the hidden field is what is throwing the error, as per your comment "OnValidate you can see the conditions for a field to be required, and if true, then throw an sc_error"
since I am hiding various fields under certain conditions, which are Required when visible, how would I disable the Required on the "hidden fields"
@Gui, this is not exactly what he meens.
if you set a field as required and it is hidden, the insert/update will not work when it is empty !
@Larry two possibilities:
1. When the field is hidden, give the field a value ( 0 ? )
2. set it as not required, and when it is visible then do Gui's suggestion !