Using ‘placeholder’ labels
The default styling in ChronoForms places input labels to the left of the input boxes. It can be useful, and look better to put the labels ‘inside’ the input boxes by setting default value attributes. But then these need to be removed again when the form is validated or submitted.
Here's how to do this in ChronoForms v3 or v4.
See the demo of the CFv3 version of this form here.
The download package includes pdf How-To documents for both ChronoForms v3 and v4, including the full code, and form backups that you can restore to your site.
Level: moderate, requires HTML, and some JavaScript knowledge.
This How-to Document links to Chapter 3 ‘Styling your form’ and Chapter 5 ‘Form validation and security’ of the “ChronoForms 3.1 for Joomla! sites cookbook”.
Important: This document has been updated for ChronoForms v4 and both versions are included.