Hello guys,

I am currently facing a problem with HTML_QuickForm. I am trying to create a
div inside my form, to control the display of certain elements depending on
the users choice of a radio button. What i tried is to do is this:

$form->addElement('html', '<div id="xx">');
//Form elements here
$form->addElement('html', '</div>');

The problem is that QuickForm is replacing my <div id="xx"> and </div> with
a single <div id="xx" />, so all my form elements are outside the div. Does
anybody have an idea of how to add divs with QuickForm?

-- 
Al-Faisal El-Dajani
Phone: +962-7-77 799 781
P.O Box: 140056
11814 Amman, Jordan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jordan PHP Users Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/JoPHP
http://Jolug.org/
-~----------~----~----~----~------~----~------~--~---

Reply via email to