Can i add formats to the answers automatically?

More
2 years 4 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.
LimeSurvey Partners
More
2 years 4 months ago #175603 by Joffm
Hi,
maybe this is worth reading:
www.limesurvey.org/forum/can-i-do-this-w...62-text-masket-input

there is a reference to jquery.maskedinput

Here you find a lot of jquery snippets:
www.jqueryscript.net/tags.php?/input%20mask/

Best regards
Joffm


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

Start now!

Just create your account and start using Limesurvey today.

Register now