Form Design number patterns

User 2902462 Photo


Registered User
45 posts

Eric Rohloff
I have a number field in Form Design. How can I make it numbers only with a max value of 32?
Not 32 numbers but max value of 32
I know I an use this [0-9]{2} but that does not do max value
The field name P1-H, P2-H, P3-H and P4-H
Thank you
David Doyle
User 187934 Photo


Senior Advisor
18,794 posts

In Form Designer select Element then under the Selected Element Properties enter it's Max for the number input.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2902462 Photo


Registered User
45 posts

Eric I think I see what you are referring to but I thank that is the max length. What I wanted was a user could not enter a number larger than 32 as in any number from 0 - 32 in value.
Thank you again for being out there where ever out there is.
Attachments:
David Doyle
User 187934 Photo


Senior Advisor
18,794 posts

The max for a number input is the max value allowed. min would be the min.
max="32" and min="1" would allow values from 1-32.
maxlength="32" would be 32 actual characters.12345678910111213114151617181920
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2902462 Photo


Registered User
45 posts

I think I understand but I still can not find where I tell my field to have a max="32"
Form Designer only has maxlength
David Doyle
User 2902462 Photo


Registered User
45 posts

I think I just saw where we are not on the same page. WFB has a Max Value:
But Form Designer does not have this option. But what I'm trying to do is put the max and error in the Form Designer file.
David Doyle
User 187934 Photo


Senior Advisor
18,794 posts

You need to use a number input.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.