📄 043_local_form_configuration_file.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><!-- InstanceBegin template="/Templates/inside.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>PAGETITLE</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/all.css" rel="stylesheet" type="text/css">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
if (self == top) { top.location.replace("index.html");
} else {
parent.window.frames.leftmiddle.location.reload(true);
}
</script>
</head>
<body bgcolor="#FFFFFF" background="images/bg_1200.gif" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><a name="top"></a><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="83%" height="29" bgcolor="#F8F8F8"><img src="images/delimiter.gif" width="19" height="29" border="0" align="absmiddle"><!-- InstanceBeginEditable name="path" -->CONFIGURATION<img src="images/bullet_3.gif" width="4" height="7" hspace="5" border="0"><span class="highlited">Local Form Configuration File</span><!-- InstanceEndEditable --></td>
<td width="17%" height="29" align="right" bgcolor="#F8F8F8"><!-- InstanceBeginEditable name="navtop" -->
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#F8F8F8">
<tr>
<td width="19"><img src="images/delimiter.gif" width="19" height="29" border="0"></td>
<td width="34"><a href="042_how_fpp_interacts.html"><img src="images/nav_back.gif" alt="< back" width="34" height="7" border="0"></a></td>
<td width="21"><img src="images/delimiter_2b.gif" width="1" height="7" hspace="10" vspace="10" border="0"></td>
<td width="55"><a href="044_form_configuration.html"><img src="images/nav_forward.gif" alt="forward >" width="55" height="7" border="0"></a></td>
<td width="19"><img src="images/1x1.gif" width="19" height="29" border="0"></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
</tr>
<tr>
<td colspan="2" bgcolor="#CECECE" height="1"><img src="images/1x1.gif" width="1" height="1" border="0"></td>
</tr>
<tr valign="top">
<td height="80%" colspan="2"><table width="100%" border="0" cellspacing="15" cellpadding="0">
<tr>
<td><!-- InstanceBeginEditable name="content" --><span class="highlitedtitle">Local Form Configuration File</span><br><br>This section is designed as extension to<a href="033_local_form_configuration_file.html" class="ssilka"> FPP Description / Local Form Configuration File</a> section. Here you will get answers on how to use form variables for best optimization of the Form Processor Pro 4.0 work and how to improve your web forms processing.<br>
<br>
<span class="hhblue">1. Messing with Variables.</span><br>
Most important aspect of <strong>form.cfg</strong> is that <em>_browser_out<digit></em> variable package is sequential, while other variables, i.e. <em>_send_email<digit></em> are free. To understand the sequence let’s get to the following example:<br>
We have 3-step form: <br>
- start page, where user enters data (e.g., <em>start.html</em>),<br>
- data verify page, where user visually checks whether entered data is correct (<em>check.html</em>),<br>
- output page with thanks and additional information given to user, with no user input on this page (<em>thankyou.html</em>)<br>
<br>
“browser out” sequence in <strong>form.cfg</strong> must look like:<br>
<em>_browser_out = check.html</em><br>
#start.html – is a start page, we don’t need to move forward to it, so we don’t mention it at all<br>
<em>_browser_out1 = thankyou.html</em><br>
# Though thankyou.html has no user input, it is next in page sequence<br>
<br>
<span class="hhblue">2. Starting Output.</span><br>
E-mail messages and record logging start on the last page transition sequence. It means, according to our example above, that when user submits <em>check.html</em>, an e-mail is sent to him and his data is logged to external file (if provided by the configuration).<br>
Roughly, when Form Processor Pro 4.0 meets last <em>_browser_out</em> directive, it starts final output.<br>
When no browser out directives are found for Form Processor Pro 4.0 at all, it outputs Form Processor Pro 4.0 default information on that page has been submitted:<br>
<div align="center"><img src="images/result.gif" width="357" height="136" hspace="5" vspace="5" border="0"></div><!-- InstanceEndEditable --></td>
</tr>
</table></td>
</tr>
<tr>
<td height="42" align="center" valign="bottom"><!-- InstanceBeginEditable name="navbottom" -->
<table height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34" valign="top"><a href="042_how_fpp_interacts.html"><img src="images/nav_back.gif" alt="< back" width="34" height="7" border="0"></a></td>
<td width="21" valign="top"><img src="images/delimiter_2b.gif" width="1" height="7" hspace="10" border="0"></td>
<td width="55" valign="top"><a href="044_form_configuration.html"><img src="images/nav_forward.gif" alt="forward >" width="55" height="7" border="0"></a></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
<td height="42"> </td>
</tr>
<tr>
<td height="37" align="center" valign="top"><span class="copyright">© 2003 Email-Form.com. All Rights reserved.</span></td>
<td height="37" align="right" valign="top"><a href="#top" target="_self"><img src="images/nav_top.gif" width="75" height="15" border="0"></a></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -