Hello T5-Users! I would like to (programmatically) add an attribute to elements on a form. The attribute is "title" and I would like the value according to metadata in my data model in order to realize a poor man's tooltip.
An example of what the result should look like: <input type="text" name="name" title="Please enter your name" /> This will yield a browser-native looking tooltip whenever the mouse enters the input field and this works in IE and Chrome ( which is good enough for me). I want this to assist users in filling out the quite complex forms my app has. Now, I already have a custom beaneditor as well as a custom propertyeditor so I could just implement this through reimplementing all PropertyEditBlocks. However, I was wondering if there might be an easier way since the Form Component seems to add the 'name' attribute to each input element independent of the PropertyEditBlock. Is this done via JavaScript or is there as server-side mechanism in place that I could also use? Thanks and kind Regards, Wulf