Text field - How to accept numbers only

More
5 years 6 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
5 years 6 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
5 years 6 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
5 years 6 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
5 years 6 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

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

More
5 years 6 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.

More
5 years 6 months ago #79447 by krae
I removed the map field and modules, but the price field still doesn't give a validation error when letters are entered

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

More
5 years 5 months ago #79486 by krae
Just wondering if there's any update on this issue?

Thanks

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

More
5 years 5 months ago - 5 years 5 months ago #79487 by ggppdk
Hello

i have tested with
Currency (€)
Currency ($)

and i cannot replicate it
does it happen in both frontend and backend ?
(you may send me login access)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!
Last edit: 5 years 5 months ago by ggppdk.

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

More
5 years 5 months ago #79488 by ggppdk
Hello

i see that this file is not being loaded in the page

librairies/inputmask/jquery.inputmask.bundle.min.js

thus the client side "currenct " masking for the input will not run


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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
Save