cancel
Showing results for 
Search instead for 
Did you mean: 

To clear the highlight on required fields

jlsim
Explorer
0 Kudos

Hi gurus,

I am having a problem where by when the user clicked on the submit by email button on the form, if there is unfilled mandatory fields, these fields will automatically being highlighted in red (example, only the fillable portion of text field), once the user filled it up and click on submit again, i will locked the form up to attach in the email.

But the problem is, the locked form will get the highlighted red on the fields as well even though they have been filled.

Is there anyway to reset this highlight on the fields? what property i need to manipulate?

i have tried set "..ui.#textEdit.border.fill.color", to "255,255,255"

"..ui.#textEdit.border.edge.color.value"

or

"..ui.textEdit.border.presence" to hidden

but with no luck. Any suggestion?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If you want to disable the 'mandatory' property, at runtime try the following script in the appropriate event.

Field1.validate.nullTest = "error"; //Enable mandatory at runtime
Field1.validate.nullTest = "disabled"; //Disable mandatory at runtime

Thanks & Regards,

Sanoosh

Answers (0)