You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/bootstrap/README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,6 @@ window.getUser = function() {
84
84
api:'cons',
85
85
callback: getUserCallback,
86
86
data:'method=getUser',
87
-
requestType:'POST',
88
87
requiresAuth:true
89
88
});
90
89
};
@@ -238,7 +237,7 @@ To use the sign-up form, you'll first need to edit the form's action to use your
238
237
You'll also need to edit the Survey ID to use the appropriate Survey from your organization's site:
239
238
240
239
```html
241
-
<inputtype="hidden"name="survey_id"value="18561">
240
+
<inputtype="hidden"name="survey_id"value="1234">
242
241
```
243
242
244
243
Reading the HTML for the sign-up form above, you'll note that the form tag has a callback defined for handling the API response, submitSurveyCallback. If the Survey is submitted without error, a thank you message is shown to the user in place of the form. If one or more errors are returned, they are displayed above the form.
Copy file name to clipboardExpand all lines: examples/foundation/README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,6 @@ window.getUser = function() {
88
88
api:'cons',
89
89
callback: getUserCallback,
90
90
data:'method=getUser',
91
-
requestType:'POST',
92
91
requiresAuth:true
93
92
});
94
93
};
@@ -231,7 +230,7 @@ To use the sign-up form, you'll first need to edit the form's action to use your
231
230
You'll also need to edit the Survey ID to use the appropriate Survey from your organization's site:
232
231
233
232
```html
234
-
<inputtype="hidden"name="survey_id"value="18561">
233
+
<inputtype="hidden"name="survey_id"value="1234">
235
234
```
236
235
237
236
Reading the HTML for the sign-up form above, you'll note that the form tag has a callback defined for handling the API response, submitSurveyCallback. If the Survey is submitted without error, a thank you message is shown to the user in place of the form. If one or more errors are returned, they are displayed above the form.
0 commit comments