How to validate an email string in a qSIListForm - SharePoint Customization - SharePoint for All - Dell Community

How to validate an email string in a qSIListForm

How to validate an email string in a qSIListForm

This question has been answered by kenny.wu-quest

Hi everybody. I have to validate an email field in my qSIListForm. This string has to be validated when the user presses an action button in the form. Is there any way to do this? If this could not be possible, where can I add a javascript function to do this?  Thank you!

Verified Answer
  • Hi Fernando,

    There is no way to trigger the JavaScript function when you click the action button. But you can try to use the ‘Form Component Behavior’ setting to do that. In this setting, you can add a field and set the field name to the ID, then you can configure the ‘Valid When’, at this case, you can set the Operator to ‘Matches’, and set the Regular Expression for this filed.

     

    Kenny.

All Replies
  • Hi Fernando,

    There is no way to trigger the JavaScript function when you click the action button. But you can try to use the ‘Form Component Behavior’ setting to do that. In this setting, you can add a field and set the field name to the ID, then you can configure the ‘Valid When’, at this case, you can set the Operator to ‘Matches’, and set the Regular Expression for this filed.

     

    Kenny.

  • Thank you!