Zen Follower
- Join Date:
- Oct 2010
- Location:
- Shropshire
- Posts:
- 177
- Plugin Contributions:
- 0
[Done v1.5] Mandatory text attribute -problem
Whilst playing around trying to get something else working I came across this 'anomally'
I created option-name 'Adult', type 'Text',width '5', max '1' - to display a box 5 characters wide and only permit a single character entry.
I added this attribute to a product and selected 'Attribute reqired for text' - because the buyer must enter a character (actually I want numeric 0-9, but I dont believe there is a way to validate the string entered)
When I then 'buy' the product if I don't enter text I get a warning - exactly as required
BUT:ohmy:
If I enter the character '0' (numeric zero) I still get the same warning message 'user Input required' - is this a bug??:(
AM I correct in thinking there is no way to define a default value for the string, instead of an empty string??