Create Choice Field
Request
- Base URL: https://api.formaloo.me
- URL: https://api.formaloo.me/v3.0/fields/choice/
- Auth: none declared. Required headers: x-api-key
Headers
The application secret provided to the client.
The value of business_identifier for the current workspace. Not required if your're using the API Key generated for your workspace.
Request body
slug of the form to which this field will be added.
slug of the repeating section field on which this field will be added.
A list of choice titles and their slugs (for editing the existing choices). (e.g. [{"title":"Existing Option","slug":"OPTION_SLUG", "image":"base64 Image"},{"title":"New Option", "image":"base64 Image"}])
Use to send a bulk list of choices to add to the field
field title or label to be shown to user. (e.g. "your contact email")
a user-defined slug to identify the field, which is unique form-wide, unless null.
extra info on the field (if any). (e.g. "please use the email account you always check.")
any description on this question and it's answers.
the order of the field on the form. (e.g. 2)
is the field required?
should the submitted value be unique for the form?
the maximum number of times an answer can be submitted.
if set true, it will be set as admin only, and end users won't be able to see/submit it.
if set true, it will be set as read only, and end users won't be able to submit it.
A string to represent the field value in a json output.
if value is True, can randomly sort this field
specifies that field has other choice or not.
shows whether to shuffle the ordering of the field choices or not.
Response
slug of the form to which this field will be added.
slug of the repeating section field on which this field will be added.
field title or label to be shown to user. (e.g. "your contact email")
a user-defined slug to identify the field, which is unique form-wide, unless null.
extra info on the field (if any). (e.g. "please use the email account you always check.")
any description on this question and it's answers.
the order of the field on the form. (e.g. 2)
is the field required?
should the submitted value be unique for the form?
the maximum number of times an answer can be submitted.
if set true, it will be set as admin only, and end users won't be able to see/submit it.
if set true, it will be set as read only, and end users won't be able to submit it.
A string to represent the field value in a json output.
if value is True, can randomly sort this field
specifies that field has other choice or not.
shows whether to shuffle the ordering of the field choices or not.
Changes
No recorded changes to this operation across all 1 revision of this API.