i have a table with an integer field called 'quantity'.
in the form submission datapage for that table, i have a 'text field' form element to allow the user to specify the quantity. i need to do three things:
1. set a default of 1
2. set a minimum value of 1
3. set a maximum value. the maximum value may be fixed (e.g. '5') or it may have to be a calculated value (e.g. SELECT SUM(someField) FROM tbl.some_other_table WHERE....)
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
aaronfreed
i have a table with an integer field called 'quantity'.
in the form submission datapage for that table, i have a 'text field' form element to allow the user to specify the quantity. i need to do three things:
1. set a default of 1
2. set a minimum value of 1
3. set a maximum value. the maximum value may be fixed (e.g. '5') or it may have to be a calculated value (e.g. SELECT SUM(someField) FROM tbl.some_other_table WHERE....)
can you help? gracias!
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.