I would enjoy a placeholder feature in text input, it would be useful to save space in the slide
For now i use a workaround with a text behind a hidden textinput, on click event on the text the textinput shows up with blanck background and i try to focus wih ‘prez.object(‘xxx’).textNode.focus();’
But the keyboard doesnt always show up on the first click
Maybe it could work better if the textinput had a click event, or if the event ‘writing’ works without press ‘enter’.
Thanks for your suggestion. We will try to support it in the future updates.
Regarding styling a text box, you just need to select the text box and select formatting tools in the Home tab.
You can also choosing the key for submitting in Properties > Interactivity > Score & Reporting > Submit.
Wow so ashamed to not see the format tool…
For the inputtext i tried to make it transparent on state1, white background on state2 with a changing state on ‘On Text Enter’ event but as the submit mode and events can’t be changed from one state to another… in state2 when i type one character the entire textbox reset (and clear my entry)
Text for place holder
White shape hidden
Text input transparent, ‘On Text Enter’ envent -> show up the white space
Maybe not the cleanest way but it works, thanks for your help!
You can add the following script to slide On Load event to set placeholder for a text box:
prez.object('text box name').textNode.placeholder = 'place holder text';
Gonna try that, thank you!