Link to home
Start Free TrialLog in
Avatar of jcgt71
jcgt71

asked on

Limiting number of characters

Hello, There's on a Input Validation Control some way to limiting the number of characters input on a field.

Thx a lot,
Avatar of scottrma
scottrma

@If(@Length(FieldName) > 25; @Failure("This field cannot be longer than 25 characters."; @Success)

Regards,

Scott
ASKER CERTIFIED SOLUTION
Avatar of Arunkumar
Arunkumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jcgt71

ASKER

Thx, Arunkumar, this works, because the @Text function.

Thanks again
But why a "B" grade ?
Avatar of jcgt71

ASKER

Oops, I'm sorry, but I'm relatively new using Experts-Exchange Site and I don't know that Good means a B Grade,
Really I give you an A Grade, however I think that now I can't change it, I kwow now for the next time.
Sorry again, and Regards.
No problem I will request an "A" from the community support if thats okay with you.

-Arun.
Grade changed to A

Banath
EE Moderator
Hi Guys,

When trying to use the follwoing formula

@If(@Length(FieldName) > 25; @Failure("This field cannot be longer than 25 characters."; @Success)

I get 'Too many arguments for @Function: ')'

cheers