Validating Name Field to only allow letters not numbers

Can anyone help with material guidance to validate name field to allow allow letters and not numbers.

Tried to create a Program rule with the following regular expression (/^[A-Za-z]+$/) to check the name field but nothing is happening.

Hi @arnold

Are you able to reproduce the same issue in any of the play.dhis2.org? If yes, would you kindly share the steps to reproduce?

Thanks!

Hi @Gassim

thank you for the feedback, I will share the steps once I test on play instance.

1 Like

Hi @arnold

Were you able to resolve the issue above or recreate the issue on play?

Thanks!

I will post the steps to reproduce on play instance, it didn’t work for me.

1 Like