Focal Point
[CLOSED] AS: HTML composer -placeholder attribute

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2087010096

April 24, 2018, 02:09 PM
BM
[CLOSED] AS: HTML composer -placeholder attribute
Hi,
Is there a way to add "placeholder" attribute for an EditBox control using GUI.

I can code it but was wondering if there is a "GUI" friendly way.

Thanks

This message has been edited. Last edited by: BM,


WebFOCUS 8202M
April 24, 2018, 05:29 PM
Doug
Please define "placeholder" attribute...
April 25, 2018, 06:39 AM
DineshJGoundai
There is no option to add "Placeholder" for an EditBox using GUI.

As you know, it can be added using js.
document.getElementById("edit1").placeholder = "Please Enter Text";  



WebFOCUS 8105 | 8206
Windows, All Outputs
April 25, 2018, 11:02 AM
Wep5622
quote:
Originally posted by Doug:
Please define "placeholder" attribute...


The place holder attribute for form elements are part of the HTML 5 standard. The value of the placeholder attribute provides the user of the form with an example of what valid input for a field looks like.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
April 25, 2018, 01:46 PM
CoolGuy
BM,

There is not, even in 8202M. There is however a Title attribute that adds a tooltip upon mouseover. You'll just have to code it for now.

Doug,

Excellent reference:
https://developer.mozilla.org/...started_with_the_web

Wep5622,

Word. Cool


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
April 30, 2018, 08:13 AM
BM
Thanks all.


WebFOCUS 8202M