documentation error moshtml radio

Submit your own tutorials, guides and API documents for inclussion in the Official Developer Documentation.
Locked
Jeffason
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Tue Jun 20, 2006 2:08 am

documentation error moshtml radio

Post by Jeffason » Sat May 03, 2008 5:41 am

http://help.joomla.org/index.php?option ... &Itemid=60

"which produces:

<input type="radio" name="chan" id="chanRadio 1" value="Radio 1" class="inputbox" />
<label for="chanRadio 1">Radio 1</label>
<input type="radio" name="chan" id="chanRadio 2" value="Radio 2" checked="checked" class="inputbox" />
<label for="chanRadio 2">Radio 2</label>
<input type="radio" name="chan" id="chanRadio 3" value="Radio 3" class="inputbox" />
<label for="chanRadio 3">Radio 3</label>

which renders as:"...

The rendering on your example does not include the labels because including labels as tags causes line breaks by default, and is hard to deal with! in fact, it made me dump it!

So while it was nice to add the labels instead of text, they break formating and even the 'rendered' example doesn't use labels.

Locked

Return to “Submit”