Helpers - softhightech/Reeeh GitHub Wiki
If you want to draw an HTML forms, that’s not big deal, you just need to instantiate class FORMS then you create a simple arry with what kind of fields you need, then you call the methode “Draw” to draw your form and that’s all!
$my_helper = new FORMS();
$my_helper→Draw($form1);
In this example i just created a div start the result is : <div id=“div_id” class=“div_class”>
array('DIVSTART','div_id','div_class')
Result :
<div id=“div_id” class=“div_class”>
array('DIVEND')
Result :
</div>
array('TEXT','name','size','class', 'id', 'tab index','disabled or not if not let it empty','style', 'value' )
array('PASSWORD','name','size','class', 'id', 'tab index')
Input type Hidden
array('HIDDEN','name','size','class', 'id', 'value')
array('TITLE','class','id','style', 'content')
array('LABEL','name','class','id', 'FORCED if required')
array('SPAN','name','class','id', 'FORCED if required')
array('FILE','name','class','id')
array('TEXTAREA','name','cols','class','id','tab index','true if disabled')
array('BUTTON','value','name','class','id','tab index')
array('CBUTTON','value','name','class','id','javascript code and the action will be on click')
array('CHECKBOX','name','class','id','value','checked if checked')
array('RADIO','name','class','id','value','checked if checked','label value','label id','label class')
array('COMBO','name','class','id','table name','id','field name')