This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
Dear all,
is there a regular expression that allow me to force the user to fill in at least one fixed words? Example: Comment field, the employee has to insert at leat the value "AAAAAA" or "BBBBB" but also could add other free text.
Thanks.
Lorenzo
This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
Hi @lmaggiulli ,
1. What are those fixed words that are allowed to use?
2. Also, just wondering, if you want to allow them to enter anything then what is the purpose of adding field validation?
Try below:
Regular Expression - ^(AAAAAA|BBBBBB) - .*$
Note -
Testing Result:
If this answers your query, then please mark solution as accepted.