on 02-24-2011 10:44 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.