Login
Register
Questions
Unanswered
Tags
Users
Ask a Question
Tips
Sawtooth Software Home
Most popular tags
cbc
lighthouse-9
acbc
ssi-web
ssi-web-8
maxdiff
cbc-hb
javascript
grid-question
constructed-list
unverified-perl
ssi-web-7
free-format
skip-logic
alternative-specific-design
willingness-to-pay
select-question
choice-simulator
cbc-latent-class
quota-control
acbc-hb
mbc
conditional-pricing
smrt
pass-in-fields
Have an idea?
Visit
Sawtooth Software Feedback
to share your ideas on how we can improve our products.
How can I add a suffix (e.g. $) to a numeric question in Discover?
I would like to add a suffix including currency to a numeric question. Can anybody tell me if and how this can be done via Javascript in Discover?
Any help is greatly appreciated,
Cheers
numeric-question
asked
Jan 16, 2018
by
Hans
To clarify, you want to add some text after the input field?
Yes, that's the idea.
Following code can be used:
<script>
$(document).ready(function() {
$("#Q5").after("€");
});
</script>
So you've already got a sufficient answer then?
ALREADY SOLVED THIS - THANK YOU!
Hello Zachary,
I try to implement this code in my questionnaire as well but I can't get it working.
I'm not sure how to implement it. In another forum post, I read that I have to insert it in the footnote. This doesn't work for me.
Maybe you can help me out?
Kind regards and thank you in advance!
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[captcha placeholder]
To avoid this verification in future, please
log in
or
register
.
Your solution to the original question
Please only use this to answer the original question. Otherwise please use comments.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
...