Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Form Heading vs HeaderField, but not a legend...


Reply


1235 Views

Avatar
dio5

Community Member, 501 Posts

25 September 2007 at 6:28am

I noticed when you add a form heading from within the cms you'll get something like:

<label class="FormHeading">Your Details:</label>

but when adding an HeaderField in a custom made form, you'll get an H-tag...

Now with css I can make both look the same, but I want in both my forms this to be the same...

so either with label or either with h-tags...

Furthermore, is there a possibility to add a 'legend'-tag? I believe it might be even better to do
<fieldset><legend>User Details</legend>
// input fields here
</fieldset>

<fieldset><legend>Message</legend>
// more input fields here
</fieldset>