⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.html

📁 调查问卷系统源码。想下的就下吧。不要条件
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<center><b><font COLOR=#000000>color: red; font-style: Arial; font-size: 12px;</font></b></center><br>

This would then cause your error messages to appear as:<br><br>

<center><font STYLE="color: red; font-style: Arial; font-size: 12px;">Please complete this question.</font></center><br>

The style definitions will be placed inside of the &lt;TD&gt; that surrounds the question text or error text. Your answer text style will also be applied to &lt;SELECT&gt; fields allowing you to control the appearance of the text within those input items.  You will also be able to override survey-wide defaults for Question Text Style and Answer Text Style within each question setup itself. Error Text Style can only be defined on a survey-wide basis.<br><br>

To find out more about CSS styles, go to <a HREF="http://zvon.org/xxl/css1Reference/Output/index.html" TARGET=_blank CLASS=phpQmenu><b>Zvon.org CSS1 Reference</b></a>.<br><br>

<a name="survey-editor-answer-input-style"></a><li><b>Answer Input Style</b><br>
This field allows you to enter any CSS style definition that you wish to have applied to the table cells (&lt;TD&gt;) that surround answer input fields such as radio button, checkboxes, select boxes and text fields.  It should be noted that this style will apply to the surrounding cells, not the input fields themselves.  To affect the input fields themselves you should read about Text Input Style for textfields and textareas and Answer Text Style for select boxes (single and multiple). Radio and checkboxes cannot currently be altered using CSS.<br><br>
You will also be able to override survey-wide defaults for Answer Input Style within each question setup itself.<br><br>

<a name="survey-editor-text-input-style"></a><li><b>Text Input Style</b><br>
In this field you may enter any CSS style definition that you wish to have applied to all text field answer inputs (text fields and text areas). If you wanted all of your 'Other:' field text fields and all of your text area inputs to have a width of 300 pixels and no shading, you could set this to:<br><br>

<center><b><font COLOR="#000000">width=300px; border-left: 1px solid black; border-right: 1px solid black;<br>border-top: 1px solid black; border-bottom: 1px solid black;</font></b></center><br>

That would yield text fields throughout the survey that looked like:<br><br>

<center><form><input TYPE=text STYLE="width: 300px; border-left: 1px solid black; border-right: 1px solid black; border-top: 1px solid black; border-bottom: 1px solid black;"></form></center>

The style definitions will be placed inside of the individual input fields for each answer input they apply to. You will also be able to override survey-wide defaults for Text Input Style within each question setup.<br><br>

To find out more about CSS styles, go to <a HREF="http://zvon.org/xxl/css1Reference/Output/index.html" TARGET=_blank CLASS=phpQmenu><b>Zvon.org CSS1 Reference</b></a>.<br><br>

<a name="survey-editor-email-from"></a><li><b>Email From</b><br>
<a name="survey-editor-email-subject"></a><li><b>Email Subject</b><br>
<a name="survey-editor-verification-email"></a><li><b>Verification Email</b><br>
Should you choose to <a href="#survey-editor-user-restrictions" class=pagelink>restrict survey results</a> based on verified email addresses you will also need to fill in the following three fields. These fields control the appearance of the email that is received by the user once they complete the survey, requesting for validation of their email address.<br><br>
<ul>
<li><b>Email From:</b> - This data will appear in the 'from' line of the email message that the user receives asking for their email validation.<br><br>

<li><b>Email Subject:</b> - This is the subject of the verification email that the user will receive.<br><br>

<li><b>Verification Email:</b> - This is the body of the message that contains all of the information necessary for the user to validate the e-mail address they supplied and thus complete the survey.  The valid template fields for this email message are <b>::SurveyName::</b>, <b>::ConfirmPassword::</b> and <b>::ConfirmURL::</b>.  These values will be replaced with the name of the survey the user just completed, the confirmation password (automatically generated by phpQ) and a direct link to the script, so that with one click they can finish the survey. A sample of what you may wish to enter in this field is supplied as the default value for a new survey.<br><br>
</ul>

<a name="survey-editor-upon-completion"></a><li><b>Upon Completion</b><br>
The <b>Upon Completion</b> option allows you to determine where the user will be sent once they have completed your survey.  You may choose between the following options:<br><br><ul>
<li><b>Display the completion notice shown below</b><br> 
By default, this field is set to display a default completion notice stating that the survey has been completed.  You can change the notice by modifying the <a href="#survey-editor-completion-notice" class=pagelink>Completion Notice</a> field.  The user will be shown this information once they have successfully completed your survey. Feel free to include a link to the survey results on this page by placing it in the Completion Notice.<br><br>
<li><b>Redirect user to the survey results page</b><br>
Starting with version 1.1, phpQuestionnaire now allows you to make the results for a specific survey publicly viewable via the <a HREF="#survey-editor-survey-results" CLASS=pagelink>Survey Results</a> option. If you have chosen to make your results public, you may also elect to have the users redirected to these results once they complete your survey. To do so, simply select this option.<br><br>
<li><b>Redirect user to the URL specified below</b><br>
Selecting this option and completing the <a href="#survey-editor-redirect-url" class=pagelink>Redirect URL</a> field will cause your users to be sent to the web page of your choice once they have completed the survey.<br><br>
<li><b>Redirect user to their individual survey response summary</b><br>
Starting with version 2.2, you can display a user's survey responses to them at the end of the survey.  Select this option and they will be shown a listing of each question and answer that they have completed in your survey.<br><br>
</ul>

<a name="survey-editor-completion-notice"></a><li><b>Completion Notice</b><br>
This field is the message that will be displayed to the user once they have successfully completed the Survey. You are free to use any HTML you wish and it will be shown in the <b>::CONTENT::</b> area of the survey template as entered.<br><br>

<a name="survey-editor-redirect-url"></a><li><b>Redirect URL</b><br>
Starting with version 1.2, phpQuestionnaire now allows you to redirect a user to any specific URL you choose <a href="#survey-editor-upon-completion" class=pagelink>Upon Completion</a>. If you have set the "Upon Completion" field to "Redirect user to the URL specified below", simply enter the destination URL into this field. Once a user has successfully completed the survey, they will be redirected to that location.<br><br>

NOTE: This URL should be an absolute, beginning with http:// or https://<br><br>

<a name="survey-editor-response-notice"></a><li><b>Response Notice</b><br>
Starting with version 2.2, phpQuestionnaire is now capable of sending email notices each time a survey response has been completed.  The options are:<br><br><ul>
<li><b>Do not send any notification email</b> - This is the default option. If selected, no email notifications will be sent upon survey completion.<br><br>
<li><b>Email text notice of response to addresses listed below</b> - If selected, the email addresses listed in <a href="#survey-editor-response-email" class=pagelink>Response Email</a> will receive a short text message each time a survey has been completed. It will list the survey title, date of completion, IP address and a link to the full results.<br><br>
<li><b>Email HTML summary of response to addresses listed below</b> - If selected an HTML-formatted message will be sent to the email addresses listed in <a href="#survey-editor-response-email" class=pagelink>Response Email</a> that includes the user's response to each question in the survey.
</ul><br>

<a name="survey-editor-response-email"></a><li><b>Response Email</b><br>
The email address (or multiple addresses separated by commas) listed in this field will receive the <a href="#survey-editor-response-notice" class=pagelink>Response Notice</a> for each survey submitted.<br><br>

<a name="survey-editor-survey-results"></a><li><b>Survey Results</b><br>
Starting with version 1.1, phpQuestionnaire now allows you to make the results for a specific survey publicly viewable. To do so, simply set this option to one of the "Make survey results public" options.  If this option is set, users will be able to see the results for this survey.  A link will be shown on the survey overview page of the admin which you can use to let visitors get directly to the results.<br><br>

There are two options when making your survey results public.  The first option simply supplies you with a URL that you can place anywhere you wish allowing visitors to view the survey results (such as the <a href="#survey-editor-completion-notice" class=pagelink>Completion Notice</a></b>).  The second option (include button on survey) will place a "View Results" button next to each Next or Submit button that occurs on your survey.  This allows your visitors to easily bypass the survey and get straight to the results, much like many polling scripts usually work.<br><br>

Either public results option also allows you to set the <a HREF="#survey-editor-upon-completion" CLASS=pagelink>Upon Completion</a> action to redirect users to this publicly viewable statistics page once they have successfully completed the survey.<br><br>

<font color=red><b>PLEASE NOTE:</b></font> If you deactivate your survey, it will deactivate the ability for the public to reach your statistics.  If you wish to stop users from submitting results, but still allow them to view results, you must set a specific ending date for your survey and leave it active.</font><br><br>

<a name="fig3.1-03"></a><center><table border=0 cellpadding=2 cellspacing=0 width=520><tr><td class=figureTable align=center><img src="images/3.1-03.gif" width=500 height=297 alt="Figure 3.1-03"></td></tr><tr><td align=right>Figure 3.1-03 - <b>Customizing Public Survey Results</b></td></tr></table></center><br>

<a name="survey-editor-results-table-width"></a><li><b>Results Table Width</b><br>
Starting with version 2.0, you can now customize the look of public survey results. You can define the width of your results boxes using the Results Table Width parameter. It should be defined in pixels (commonly between 400 and 800). phpQ will automatically calculate the maximum length for the resulting bar graphs, which are 110 pixels less than the width entered here.<br><br>

The default for this field is 500 pixels. In some cases, the text or style of some of your questions or answers may cause the survey results table to be expanded outside of your defined Results Table Width.<br><br>

<a name="survey-editor-results-border-style"></a><li><b>Results Border Style</b><br>
This field controls the table enclosing the results. You can set the color of this table using the background-color CSS property. It also controls the color of any text and links appearing in the border (using the color CSS property). Since this style will be placed inside any links in the border, you can also specify things such as text-decoration to control link highlighting, etc. By default, the border has a purple background color with white colored text and links:<br><br>
background-color: #333366; color: #FFFFFF; text-decoration: none;<br><br>

You may, in fact, include any style definition here, and it will appear in the &lt;TD&gt;'s that create the table border as well as any &lt;A&gt; anchor tags for links such as "See More..." or page numbers.<br><br>

To find out more about CSS styles, go to Zvon.org CSS1 Reference.<br><br>

<a name="survey-editor-results-answer-style"></a><li><b>Results Answer Style</b><br>
This field controls the appearance of rows in your results table that contain the selected answers. You can change either of these using the background-color or color CSS properties. Furthermore, this style will be applied to the 'Textfield Results' link should it appear. By default these rows have a white background and purple text:<br><br>

background-color: #FFFFFF; color: #333366;<br><br>

You may, in fact, include any style definition here, and it will appear in the &lt;TD&gt;'s that create the answer rows as well as any 'Textfield Results' link.<br><br>

<a name="survey-editor-results-stats-style"></a><li><b>Results Stats Style</b><br>
This field controls the appearance of rows in your results table that contain the statistics (how many people chose a specific answer, bar graph, etc.). You can change either of these using the background-color or color CSS properties. Although the results bar graph appears in this row, the style of the bar graph is controlled using the Stats Graph Style. By default these rows have a light-blue background and purple text:<br><br>

background-color: #DDEEFF; color: #333366;<br><br>

You may, in fact, include any style definition here, and it will appear in the &lt;TD&gt;'s that create the stats rows.<br><br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -