$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)
{

Project Activity

See All Activity >

Follow PHP HTML Form Class

PHP HTML Form Class Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP HTML Form Class!

Additional Project Details

Registered

2022-06-20