$form = new JSForm(
array(
new JSInputHidden('id', new JSInputValidator(JSValidateType::INT, true), $iID)
, new JSInput('text', 'name', 'Name', new JSInputValidator(JSValidateType::NONE, true), 'Name of the Template', array($aInitialValues,'name'), 6)
, new JSInputGap(6)
, new JSInput('text', 'open', 'Opening Script', new JSInputValidator(JSValidateType::URL_SYMBOLS, true), 'Opening script of the template', array($aInitialValues,'open'), 6)
, new JSInput('text', 'close', 'Closing Script', new JSInputValidator(JSValidateType::URL_SYMBOLS, true), 'Closing script of the template', array($aInitialValues,'close'), 6)
)
, 'Edit Template');
if ($form->Process())
{
$resultRegister = Template::Register(
$form->GetValue('name')
, $form->GetValue('open')
, $form->GetValue('close')
, $sError);
if ($resultRegister === false)
{
PHP HTML Form Class
Brought to you by:
mortontech
Downloads:
0 This Week