Is there a way to do that? I want the user to select the date of birth and visit date so I am using 2 date pickers and want to show the relevant text on them.
Is there a way to do that? I want the user to select the date of birth and visit date so I am using 2 date pickers and want to show the relevant text on them.
Hi Tooba.
Please try add this code on "page show" event for your page:
pre
code
//Where "mobiledatepicker_28" - is datepicker name.
Apperyio("mobiledatepicker_28").datapickerRoot.find("input").attr("placeholder", "Place holder text you need")
/code
/pre
Regards.
It worked thanks alot ![]()
Yurii,
What about the select box? What is the syntax for using a placeholder on select box?
Tooba.
Sorry but there is no a simple solution.
I can only suggest you this one: http://stackoverflow.com/questions/13...
Regards.
I tried this code but the default value was shown rather than the placeholder.
If I remove the default value on testing the app the placeholder appears.
Can I remove the default value within the builder? it's greyed out and not removable.
or do I have to use javascript to remove the default value?
Thanks
Hello Joe,
Sorry for the radio silence here. Could you please provide us with screenshots of what you get and the code you use?
no worries, I've actually changed the section of my app, and no longer need a solution for this. thank you