Plugins tab and either disable the plugin, or toggle its status (disable/enable) to revive cforms!', 'cforms') ?>

1 && $_REQUEST['no']<>'1') { require_once(dirname(__FILE__) . '/lib_options_del.php'); } else { ### set paramters to default, if not exists $noDISP='1';$no=''; if( isset($_REQUEST['switchform']) ) { ### only set when hitting form chg buttons if( $_REQUEST['switchform']<>'1' ) $noDISP = $no = $_REQUEST['switchform']; } else if( isset($_REQUEST['go']) ) { ### only set when hitting form chg buttons if( $_REQUEST['pickform']<>'1' ) $noDISP = $no = $_REQUEST['pickform']; } else{ if( isset($_REQUEST['noSub']) && (int)$_REQUEST['noSub']>1 ) ### otherwise stick with the current form $noDISP = $no = $_REQUEST['noSub']; } } ### PRESETS if ( isset($_REQUEST['formpresets']) ) require_once(dirname(__FILE__) . '/lib_options_presets.php'); ### default: $field_count = what's in the DB $field_count = get_option('cforms'.$no.'_count_fields'); ### check if T-A-F action is required $alldisabled=false; $allenabled=0; if( isset($_REQUEST['addTAF']) || isset($_REQUEST['removeTAF']) ) { $posts = $wpdb->get_results("SELECT ID FROM $wpdb->posts"); if ( isset($_REQUEST['addTAF']) ){ foreach($posts as $post) { if ( add_post_meta($post->ID, 'tell-a-friend', '1', true) ) $allenabled++; } } else if ( isset($_REQUEST['removeTAF']) ){ $wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_key = 'tell-a-friend'"); $alldisabled=true; } } ### new field added (will actually be added below!) if( isset($_REQUEST['AddField']) && isset($_REQUEST['field_count_submit']) ) { $field_count = $_POST['field_count_submit'] + $_POST['AddFieldNo']; update_option('cforms'.$no.'_count_fields', $field_count); } ### Update Settings if( isset($_REQUEST['Submit1']) || isset($_REQUEST['Submit2']) || isset($_REQUEST['Submit3']) || isset($_REQUEST['Submit4']) || isset($_REQUEST['Submit5']) || isset($_REQUEST['Submit6']) || isset($_REQUEST['Submit7']) || isset($_REQUEST['Submit8']) || isset($_REQUEST['Submit9']) || isset($_REQUEST['AddField']) || array_search("X", $_REQUEST) ) { require_once(dirname(__FILE__) . '/lib_options_sub.php'); } ### delete field if we find one and move the rest up $deletefound = 0; if(strlen(get_option('cforms'.$no.'_count_field_' . $field_count)) > 0) { $temp_count = 1; while($temp_count <= $field_count) { if(isset($_REQUEST['DeleteField' . $temp_count])) { $deletefound = 1; update_option('cforms'.$no.'_count_fields', ($field_count - 1)); } if($deletefound && $temp_count<$field_count) { $temp_val = get_option('cforms'.$no.'_count_field_' . ($temp_count+1)); update_option('cforms'.$no.'_count_field_' . ($temp_count), $temp_val); } $temp_count++; } ### while if($deletefound == 1) { ### now delete delete_option('cforms'.$no.'_count_field_' . $field_count); $field_count--; } } ### if ### check possible errors require_once(dirname(__FILE__) . '/lib_options_err.php'); ### ### prep drop down box for form selection ### $formlistbox = ' '; ### make sure at least the default FROM: address is set if ( get_option('cforms'.$no.'_fromemail') == '' ) update_option('cforms'.$no.'_fromemail', '"'.get_option('blogname').'" '); ### check if HTML needs to be enabled $fd=get_option('cforms'.$no.'_formdata'); if( strlen($fd)<=2 ) { $fd .= ( get_option('cforms'.$no.'_header_html')<>'' )?'1':'0'; $fd .= ( get_option('cforms'.$no.'_cmsg_html')<>'' )?'1':'0'; update_option('cforms'.$no.'_formdata',$fd); } ?>
   1) echo ''; ?>
1 )?$i:''; echo ''; } ?>

to insert one or more custom designed contact forms, which on submission (preferably via Ajax) will send the visitor info via email and optionally stores the feedback in the database.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#inserting','onclick="setshow(18)"'); ?> Here is a quick step by step quide to get you up and running quickly.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#guide','onclick="setshow(17)"'); ?>

/>

Help! section for information on how to deploy the various supported fields,', 'cforms'),'?page='.$plugindir.'/cforms-help.php#fields','onclick="setshow(19)"') . ' ' . sprintf(__('set up forms using FIELDSETS,', 'cforms'),'?page='.$plugindir.'/cforms-help.php#hfieldsets','onclick="setshow(19)"') . sprintf(__('use default values & regular expressions (specific field validation; check Required!) for single & multi-line fields.', 'cforms'),'?page='.$plugindir.'/cforms-help.php#single','onclick="setshow(19)"','?page='.$plugindir.'/cforms-help.php#regexp','onclick="setshow(19)"') . sprintf(__('Besides the generic success & failure messages below, you can add custom error messages.', 'cforms'),'?page='.$plugindir.'/cforms-help.php#customerr','onclick="setshow(20)"'); ?>

Update Settings)!','cforms'); ?>

  • <?php _e('Required', 'cforms'); ?>
  • <?php _e('E-Mail', 'cforms'); ?>
  • <?php _e('Auto Clear', 'cforms'); ?>
  • <?php _e('Disabled', 'cforms'); ?>
  • <?php _e('Read-Only', 'cforms'); ?>
= 3) { $field_name = stripslashes(htmlspecialchars($field_stat[0])); $field_type = $allfields[$i] = $field_stat[1]; $field_required = $field_stat[2]; $field_emailcheck = $field_stat[3]; $field_clear = $field_stat[4]; $field_disabled = $field_stat[5]; $field_readonly = $field_stat[6]; } else if(sizeof($field_stat) == 1){ add_option('cforms'.$no.'_count_field_' . $i, __('New Field', 'cforms').'$#$textfield$#$0$#$0$#$0$#$0$#$0'); } switch ( $field_type ) { case 'emailtobox': $specialclass = 'style="background:#CBDDFE"'; break; case 'ccbox': $specialclass = 'style="background:#D8FFCA"'; break; case 'verification': case 'captcha': $specialclass = 'style="background:#FFCDCA"'; break; case 'textonly': $specialclass = 'style="background:#f0f0f0"'; break; case 'fieldsetstart': case 'fieldsetend': $specialclass = 'style="background:#ECFEA5"'; break; default: $specialclass = ''; break; } $alternate = ($alternate=='')?' rowalt':''; ?>
  name="field__name" id="field__name" size="30" value="" /><?php _e('edit', 'cforms'); ?>'; if( in_array($field_type,array('hidden','checkboxgroup', 'radiobuttons','fieldsetstart','fieldsetend','ccbox','captcha','verification','textonly')) ) echo ''.__('n/a', 'cforms').''; else echo ''; if( ! in_array($field_type,array('textfield','youremail','friendsemail','email')) ) echo ''.__('n/a', 'cforms').''; else echo ''; if( ! in_array($field_type,array('pwfield','textarea','textfield','datepicker','yourname','youremail','friendsname','friendsemail','email','author','url','comment')) ) echo ''.__('n/a', 'cforms').''; else echo ''; if( ! in_array($field_type,array('pwfield','textarea','textfield','datepicker','checkbox','checkboxgroup','selectbox','multiselectbox','radiobuttons','upload')) ) echo ''.__('n/a', 'cforms').''; else echo ''; if( ! in_array($field_type,array('pwfield','textarea','textfield','datepicker','checkbox','checkboxgroup','selectbox','multiselectbox','radiobuttons','upload')) ) echo ''.__('n/a', 'cforms').''; else echo ''; ?>

">

File Upload Box" to your form (also see the Help! for further information).', 'cforms'),'?page='.$plugindir.'/cforms-help.php#upload','onclick="setshow(19)"'); ?> error messages.', 'cforms'),'?page='.$plugindir.'/cforms-global-settings.php#upload','onclick="setshow(11)"'); ?>

' . __('Can\'t find the specified Upload Directory ! Please verify that it exists!', 'cforms' ) . '

'; } ?>
/>
Note: Attachments are stored on the server & can be accessed via the cforms tracking tables.', 'cforms'),'?page='. $plugindir.'/cforms-global-settings.php#tracking','onclick="setshow(14)"'); ?>

visitor verification code can be found here.', 'cforms'),'?page='.$plugindir.'/cforms-global-settings.php#visitorv','onclick="setshow(13)"'); ?>


/>
/>
/>
/>
/>
/>
/>
'' ) : ?>
/>
/>
/>
/>

form action you will loose any cforms application logic (spam security, field validation, DB tracking etc.) in non-ajax mode! The settings below are really only for developers that require additional capabilities around forwarding of form data. These settings turn cforms into a front-end only, a "form builder" so to speak.', 'cforms') ?>

xx@yy.zz"','"abc <xx@yy.zz>"') ?>

comma.   Note:   If you want the visitor to choose from any of these per select box, you need to add a corresponding "Multiple Recipients" input field above (see the HELP section for details on the field name format expected!). If no "Multiple Recipients" input field is defined above, the submitted form data will go out to every address listed!', 'cforms'),'?page='.$plugindir.'/cforms-help.php#multirecipients','onclick="setshow(19)"'); ?>

Variables allowed.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>
/>

cf_field_12) with custom ones, either derived from the field label you have provided or by specifically declaring it via [id:XYZ],e.g. Your Name[id:the-name]. This will for instance help to feed data to third party systems (requiring certain input field names in the $_POST variable).', 'cforms') ?>

/>

three additional, predefined variables that belong to the Tell-A-Friend feature but can be enabled here without actually turning on T-A-F.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#tafvariables','onclick="setshow(23)"'); ?>

/>

is required, HTML optional.', 'cforms'); ?>

TXT part of the admin email as well as the optional HTML part of the message. Both areas permit the use of any of the pre-defined variables or data from input fields. Please see the documentation on the HELP page (including HTML message examples!).', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>

Variables allowed.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>
/>
 
/>
">
Variables allowed.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>
">
/>

uncheck "Include pre formatted form input ..." and instead specify the fields you\'d like to receive via the use of custom variables.', 'cforms'); ?>

" id="cc">

CC: field in your form definition above.', 'cforms') ?>

Variables allowed.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>

CC me" field AND the visitor selected it, no extra confirmation email is sent!', 'cforms') ?>

/>

auto confirmation feature to work, make sure to mark at least one field Email, otherwise NO auto confirmation email will be sent out! If multiple fields are checked "Email", only the first in the list will receive a notification.', 'cforms') ?>

">
Variables allowed.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>
" style="margin-top:10px;">
Variables allowed.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>
" style="margin-top:15px;">
/>
">
Variables allowed.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#variables','onclick="setshow(23)"'); ?>

more details.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#taf','onclick="setshow(19)"'); ?>

false ) echo '

'.$allenabled.' '. __('posts and pages processed and tell-a-friend enabled.', 'cforms'). '

'; else if ( $alldisabled ) echo '

'. __('All posts & pages processed and tell-a-friend disabled.', 'cforms'). '

'; ?>

input field types will be available.', 'cforms'); ?>

/>
/>

cforms Tell-A-Friend checkbox on your admin/edit page (typically under "Post/Author")!
Check it if you want to have the form appear for the given post or page.', 'cforms');?>

default Wordpress comment form (on posts & pages), allowing your readers to either comment on the post or alternatively send the post author a note!', 'cforms') ?>

5 additional, comment specific input field types available with this feature turned on, or use the WP comment form preset to get started. Configuration details.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#commentrep','onclick="setshow(19)"'); ?>

/>

Again, see the help section on proper use.', 'cforms'),'?page='. $plugindir.'/cforms-help.php#commentrep','onclick="setshow(19)"'); ?>

WP comment options under Global Settings for additional configuration requirements. Especially concerning Ajax comment submission! Further, if you enable \'extra comment notification\' make sure you disable the autoresponder, unless you want to thank the user for his/her comment ;-) !', 'cforms'),'?page='. $plugindir.'/cforms-global-settings.php#wpcomment','onclick="setshow(19)"'); ?>

readnotify.com','didtheyreadit.com','.readnotify.com') ?>

<?php _e('OK', 'cforms') ?><?php _e('Cancel', 'cforms') ?>
<?php _e('Install', 'cforms') ?><?php _e('Cancel', 'cforms') ?>