/
add_form_step6.html
62 lines (47 loc) · 1.69 KB
/
add_form_step6.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: default
navPage: docs
heading: "6: Finalize Form"
breadcrumbs:
- User Documentation,/userdoc/
- Form Management,/userdoc/form_management/
- "6: Finalize Form"
prev: "Step 5. Field Types,/userdoc/form_management/add_form_step5/"
next: Editing Forms,/userdoc/form_management/editing_forms/
categories: userdoc
---
{% include open_section.html nav='nav_userdoc_form_management.html' selected='add_form_step6' nav_width=4 %}
{% include screenshot.html item='i218.jpg' %}
<p>
The final step is just for finalizing your form: pushing it into "live" mode. This tells
Form Tools to start storing the submissions. What you need to do depends on the submission
type: <b>direct</b> or <b>code</b> via the API. Both are quite simple.
</p>
<h3>Direct Submissions</h3>
<p>
Return to your form and remove the following hidden field:
</p>
<div class="clear"></div>
{% codemirror html %}
<input type="hidden" name="form_tools_initialize_form" value="1" />
{% endcodemirror %}
<p>
Now refresh your form page. Going forward, submissions should now be stored in Form Tools.
</p>
<h3>Code Submissions (API)</h3>
<p>
Change the <b>ft_api_init_form_page</b> line on the first page of your form to whatever
line is displayed in the Add Form Step 6 page. It will looks something like this, except
the X will be your form number.
</p>
{% codemirror php %}
$fields = ft_api_init_form_page(X);
{% endcodemirror %}
<p>
Then visit your "thank you" page to empty the sessions. Once this is done, all new form
submissions will be processed and stored by the program.
</p>
<p>
And you're done! Congratulations, you've finished configuring your form!
</p>
{% include close_section.html %}