Can i add formats to the answers automatically?

3 years 3 months ago #175579 by FranciscoSalinas
I have been able to setup almost everything by researching old topics and the manuals, but this is driving me crazy and I need your help guys!

I want to be able to automatically add symbols while the answer is being typed. Example:

The user types only the numbers: 3312809046
And the answer should be displayed as being typed: (33) 1280-9046
So it should be: (xx) xxxx-xxxx

My other problem is adding automatically commas and a suffix at the end
The user only types: 10000
And it should be displayed as: 10,000 ha
So: xxx,xxx,xxx ha (comma every 3 numbers)

Thanks in advance!
The topic has been locked.
3 years 2 months ago #175603 by Joffm
maybe this is worth reading:

there is a reference to jquery.maskedinput

Here you find a lot of jquery snippets:

Best regards

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
3 years 2 months ago #175631 by FranciscoSalinas
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now