Hello everyone,
I have a form (Multiple Records). There is a calculated field called {Days}. If ({Days} > 4), then field {comment} must be disabled.
I did it this way, in the onRecordLoad:
if ({Days} > 4)
{sc_field_disabled("comment");}
else
{sc_field_disabled("comment=false");}
Now what happens is this: once the first row {Days} > 4, I get all {comment} fields disabled. If the first row {Days}<= 4, I get all {comment} fields enabled.
What should I do so that the enabling / disabling goes for only the specific rows that match the criteria?
Thanks for replying.