Text field - How to accept numbers only

More
4 years 2 months ago #79427 by krae
I have a text field for a price in a front end item form and I do not want the user to be able to input anything except numbers.

When I add the 'Currency' Value Validation Mask, the user does not get an error if other characters are put in and when the item saves, the field is blank.

Is there a way to verify the field either as the user is inputting info or after they submit and have an error appear?

Thank you

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #79430 by micker
hello did you use mask input in field ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #79435 by krae
Per attached photo, I have the mask set to Currency, I also tried Integer, neither showed any sort of error

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #79436 by micker
hi yes i
did you check any js error ? in front and backend ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #79437 by krae
I'm only seeing this one related to Google Maps, but it hasn't seemed to affect anything else on the site
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #79440 by micker
can you remove i to be sure (for exclude conflict)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.484 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline