Ejemplo n.º 1
0
	<?php 
}
?>
</script>
<form action="index.php?option=com_chronoforms" method="post" name="adminForm" id="adminForm">
<h2 style='margin: 3px 0;'>
<?php 
if (!empty($form)) {
    echo $form->name;
} else {
    echo 'New Form...';
}
?>
</h2>
<?php 
echo $TabsHelper->Header(array('general' => 'General', 'code' => 'Code', 'jsval' => 'JS Validation', 'admin_actions' => 'Admin actions', 'apps' => 'Form Applications', 'data_view' => 'Data View'));
?>
	<?php 
echo $TabsHelper->tabStart('general');
?>
		<?php 
echo $HtmlHelper->input('name', array('type' => 'text', 'id' => 'chronoform_name', 'label' => 'Form name', 'class' => 'medium_input', 'smalldesc' => 'Unique form name without spaces or any special characters, underscores _ or dashes -'));
?>
		<?php 
echo $HtmlHelper->input('published', array('type' => 'select', 'label' => 'Published', 'options' => array(0 => 'No', 1 => 'Yes'), 'default' => 1));
?>
		<?php 
echo $HtmlHelper->input('params[form_mode]', array('type' => 'select', 'label' => 'Form Wizard Mode', 'value' => $params->get('form_mode', 'advanced'), 'options' => array('advanced' => 'Advanced (Default)', 'easy' => 'Easy'), 'default' => 'advanced', 'smalldesc' => 'Choose your form wizard mode, the advanced mode is the default one, you will have all the Chronoforms V4 tools enabled in the wizard, the Easy mode is easier to use though and is enough to build strong simple forms.'));
?>
		<?php 
echo $HtmlHelper->input('params[form_method]', array('type' => 'select', 'label' => 'Form method', 'value' => $params->get('form_method', 'post'), 'options' => array('post' => 'Post', 'get' => 'Get', 'file' => 'File'), 'default' => 'post', 'smalldesc' => 'Choose your form method, File is ncessary to get file uploads working.'));
Ejemplo n.º 2
0
        <!--<a href="#" class="toggler action_toggler">Action Settings</a>
        <div class="settings actions_accordion_pane" id="action_settings"></div>-->
		<div class="settings actions_accordion_pane" style="display:none;" id="action_settings_hidden"></div>
      </div>
<?php 
echo $DragTabsHelper->tabEnd();
?>
  </div>
<div class="ccms_box" style="float:right; width:56%;">
  <form action="index.php" method="post" name="adminForm" id="adminForm" id="adminForm">
    <div class="ccms_box_header">
      <h3 class="left">Drop</h3>
	<?php 
$DropTabsHelper = new TabsHelper();
if ($wizard_mode == 'easy') {
    echo $DropTabsHelper->Header(array('preview' => 'Preview', 'emails' => 'Emails', 'thanks' => 'Thanks Message', 'uploads' => 'Files Uploads', 'code' => 'Code', 'captcha' => 'Anti Spam', 'db' => 'Store Data', 'settings' => 'Form Settings'));
} else {
    echo $DropTabsHelper->Header(array('preview' => 'Preview', 'events' => 'Events', 'settings' => 'Form Settings', 'legend' => 'Legend'));
}
?>
    </div>
    <?php 
echo $DropTabsHelper->tabStart('preview');
?>
        <div class="droppable" id="droppable_area_elements">
			<?php 
$max_field_index = -1;
?>
			<?php 
if (empty($form)) {
    ?>
Ejemplo n.º 3
0
			submitform(pressbutton);
		}
	}
</script>
<form action="index.php?option=com_chronoforms" method="post" name="adminForm" id="adminForm">
<h2 style='margin: 3px 0;'>
<?php 
if (!empty($form)) {
    echo $form->name;
} else {
    echo 'New Form...';
}
?>
</h2>
<?php 
echo $TabsHelper->Header(array('general' => 'General', 'code' => 'Code', 'jsval' => 'JS Validation', 'admin_actions' => 'Admin actions'));
?>
	<?php 
echo $TabsHelper->tabStart('general');
?>
		<?php 
echo $HtmlHelper->input('name', array('type' => 'text', 'id' => 'chronoform_name', 'label' => 'Form name', 'class' => 'medium_input', 'smalldesc' => 'Unique form name without spaces or any special characters, underscores _ or dashes -'));
?>
		<?php 
echo $HtmlHelper->input('published', array('type' => 'select', 'label' => 'Published', 'options' => array(0 => 'No', 1 => 'Yes'), 'default' => 1));
?>
		<?php 
echo $HtmlHelper->input('params[form_mode]', array('type' => 'select', 'label' => 'Form Wizard Mode', 'value' => $params->get('form_mode', 'advanced'), 'options' => array('advanced' => 'Advanced (Default)', 'easy' => 'Easy'), 'default' => 'advanced', 'smalldesc' => 'Choose your form wizard mode, the advanced mode is the default one, you will have all the Chronoforms V4 tools enabled in the wizard, the Easy mode is easier to use though and is enough to build strong simple forms.'));
?>
		<?php 
echo $HtmlHelper->input('params[form_method]', array('type' => 'select', 'label' => 'Form method', 'value' => $params->get('form_method', 'post'), 'options' => array('post' => 'Post', 'get' => 'Get', 'file' => 'File'), 'default' => 'post', 'smalldesc' => 'Choose your form method, File is ncessary to get file uploads working.'));