Hello,
We don’t want a label before the input boxes at the contact form but in the input boxes the ‘label’. The same behavior as in the search box.
I see the input boxes are created with:
[PHP]
echo $this->form->getInput(‘contact_name’);
[/PHP]
For example, I want to add the next HTML to the contact_name input box:
onfocus=”if (this.value==’naam…’) this.value=”;” onblur=”if (this.value==”) this.value=’naam’;” value=”naam”
This is also added to the searchbox if you fill in a value.
I’ve been looking in the getInput function. But these is not only used for the contact form I think. So to change this is a little be dangerous maybe.
Otherwise with java script?
I hope that someone can help me.
Nico