Placeholder

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

arunkumar
Ebase User
Posts: 14
Joined: Wed Jul 29, 2015 12:53 pm

Placeholder

#1

Postby arunkumar » Thu Nov 12, 2015 2:16 pm

How can i create a "plceholder" value within a text box . In HTML the same can be done using the code

Code: Select all

  input name="Name" placeholder="Enter Your Name"   
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Thu Nov 12, 2015 3:20 pm

Select the field control, click Html Element Properties in Properties view, click Editor Input tab, then enter placeholder='Enter Your Name' in Custom Attributes.
0 x

kotinkarwak
Ebase User
Posts: 109
Joined: Mon Sep 21, 2015 9:55 pm

#3

Postby kotinkarwak » Thu Mar 03, 2016 9:41 am

Jon,
Can custom attributes be managed via code (server-side).
based on another thread asking on how to mark a button as disabled... thought could be done by adding disable="disabled" attribute but need to be at run time.
0 x
ebasetech v5

Skype: mateso08
Location: Kenya

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Thu Mar 03, 2016 9:58 am

No, you can't set HTML attributes dynamically on the server, but it might be a good idea for an enhancement. At the moment, you would have to do this on the client e.g. using jQuery.
0 x


Who is online

Users browsing this forum: No registered users and 20 guests