Forum Discussion
Alan_Oktay_1019
Nimbostratus
Jun 11, 2009Static Content Values and Wildcards
Hey there.
Working on my first app. One of the User Input Values on a Parameter is the two-letter designation for states.
The ASM has recognized the Parameter Value Type as Static. In this case, I know the listing will always be two letters representing the state abbreviations.
Is there a way to wildcard this (know it is a little bit less secure) so that I do not have to enter all 50 state abbreviations as static values?
Thanks for any help...
Alan
2 Replies
- Ido_Breger_3805Historic F5 AccountYes, you can change the parameter type value to be "user-input" and limit the length to 2 bytes.
You probably won't lose any security because of that. - hoolio
Cirrostratus
You could also limit the parameter value to two alpha characters using a regex:
[a-z][a-z]
or for upper and lowercase letters:
[a-zA-Z][a-zA-Z]
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
