- Posts: 13
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
( $("#question"+QQ+" input.text").val('{TOKEN:EMAIL}');
I think Denis was talking about the "uses_left" column at which you can define the number of times a certain token can be used.ricardo wrote: A token with : newinscription for tokencode, set to 1000000 answer ( or more) How? What is a"newinscription" How can I set it to 1000000? where?
Try adding this code at the source code mode of the editor at the related question:ricardo wrote: You can fill to an input with the email for token table.
( $("#question"+QQ+" input.text").val('{TOKEN:EMAIL}'); Where do I write this?
<script> $(document).ready(function() { $("#question"+QQ+" input.text").val('{TOKEN:EMAIL}'); }); </script>
fransmarcelissen wrote: Hi,
Good news, what you want is exactly what I do in my questionnaires in 1.92rc3. 1.92 has the option of defining defaults for text fields. But the defaults are not in the advanced options, but as a button along the conditions button. As a default you can set {TOKEN:EMAIL}, so the user can keep this or change it if he wants. The default can also be a EM script. Of course the TOKEN does not change.
Frans