Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To restrict a text field to only accept letters (no numbers allowed)
    • regex(.,'^[a-zA-Z]+$')        not allowing spaces
    • regex(., '^[a-zA-Z\s]+$')    allowing spaces
  • To restrict a numeric ID field to accept only numbers (no letters allowed)- relevant in CloudCare:
    • regex(.,'^[0-9]+$')

...