$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
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it 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