1

I need a way to have form validation for multiline text fields when submitting a new record. I know characters like % are not legal characters but I need to be able to verify a multiline text field upon clicking the SAVE button.

I am not a developer so I am a bit limited. I tried to use javascript but I can't get it to work and I think if we turn on modern sites that option will not work either.

A little bit of guidance would be helpful.

1 Answer 1

0

Only the following field types can be validated with the "Column Validation" feature:

•Single Line of Text

•Choice (single only)

•Number

•Currency

•Date & Time

If you want to validate value of a multiple-lines of text field, you need script to overwrite the PreSaveAction function on list form .

Yes, the modern list view does not support adding script, you need to switch back to the classic list view.

Here is a demo in the following thread about how to validate the multiple-lines of text field on the list form using script:

List Validation Settings - Multi Line formatted Columns Missing from Create Formula

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.