Textfield - inputting numbers only

More
12 years 3 weeks ago #31253 by igcorreia
Yes, some Joomla components mask the inputs so the user knows what they are doing. For securty and cleaned database we should validate in the server 2.

I had planned to make the number and currency field, I didnt have the time yet.

This seams simple but is not. We need the same validation in jquery and in php also, in case of currency where the symbol is located, also in currency I wanted to do the Excahnge via cookie.

My suggestion is to have all maks to start and improve the server validaiotn with time.

What you think?

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

More
12 years 3 weeks ago #31254 by kenmcd

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

More
12 years 3 weeks ago #31257 by ggppdk
Yes this is best, than having only some validation types, that only validate at the end of input,

-- masks will show progress as user input data
-- plus they can allow custom input masks easily for end-users (non-developers)

thanks for pointing out this

Regards


-- 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...

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

More
11 years 9 months ago #34480 by ggppdk
I think to add meiomask for masking input of text field, later it will follow for other, since it seems trivial to add, just i am thinking if it is best choice?


-- 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...

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

More
11 years 9 months ago #34489 by kenmcd

ggppdk wrote: I think to add meiomask for masking input of text field, later it will follow for other, since it seems trivial to add, just i am thinking if it is best choice?

When creating my Field Comparison with Other CCKs table,
I found other text and numeric fields using different JavaScript "input mask" scripts.
Meio.Mask was one found, but being based on MooTools seems to be a negative as Joomla 3.x is moving to jQuery.

I found a couple jQuery-based scripts as options:

jQuery Input Mask plugin
github.com/RobinHerbots/jquery.inputmask#readme

Masked Input Plugin
digitalbush.com/projects/masked-input-plugin/

Both of these seem to have a few more features too.

.

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

More
11 years 9 months ago #34546 by micker
Cool

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.350 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