Forms help people ask for things they need, such as a new keyboard or permission to take time off. The default form that's added when you create an app in Creator Studio needs some changes to fit your needs. For example, you must add question labels to gather information about the request.
시작하기 전에
To customize a form, you must be given permission to work on the app.
이 태스크 정보
You can add additional forms to your application if you need them. Additional forms are stored in the app's same table. No need to worry about those tables right now, but if you want
to know how to add more forms besides the form that was generated when the app was created, check out Add more forms to an app in Creator Studio.
Summary:
After finishing the following steps, you’ll know how to:
Open the form that was automatically generated when the app was created.
Add questions and images to the form.
Arrange the questions and images that you added.
Let's open a form and customize it.
주:
For example, you can create a form that people use to register for a company event, with questions like dietary preference and accessibility needs.
프로시저
Let's head over to All > App Engine > Creator Studio.
All the apps built in Creator Studio appear on the home page.
Open the application that contains the form you want to customize.
Select the form you want to customize in the navigation panel.
주:
If your app has a lot of forms, you can use the search box in the navigation panel to search for a specific form.
그림 1. Select the form
옵션: Select the Edit button if you want to work on a form that's already been published.
그림 2. Edit button
Let’s customize the form by doing one or more of the following optional steps.
Add or modify the image that appears on your form by selecting the add image icon () and then selecting an image.
Change the form’s title, short description, and other text by selecting those parts of the form and typing in your changes.
You can enhance how the longer Description appears using rich text, such as font changes and sizing.
Next, add questions to the form your fulfiller needs to evaluate the request. To add and customize a question, complete the following steps.
Add another question by dragging the type of question you want from the Form elements panel onto the form, dropping it on the canvas where you’d like it.
You can also add questions by selecting the add icon (+) that appears when you click on an existing question on the form. If you're adding a pre-configured Question
set, you must select the question set from the modal that appears when you drag it onto the form.
When you select a question, it's highlighted on the form so you know what you're working on.
In the Configurations tab of the Question details panel, specify information about the question you added, such as a label for what the question is asking and
whether it must be answered for the requester to submit the form.
The details vary by question type. For example, if you add a Dropdown question, you must supply the options to choose from.
그림 3. Form question details
옵션: Make the form's appearance change based on how users answer questions by adding dynamic behavior to it on the Behaviors tab.
옵션: Automatically populate a question's answer based on the answer to another question on the form (record choices questions only) by selecting the Add auto-fill
option.
For example, a form can enable someone to select a user for the Choose the gift box recipient field, which retrieves its values from the User table. An
additional Preferred name field can be automatically populated from the First name field of the User table selection, but then edited if someone prefers a
nickname.
The Add auto-fill option is available only if the form has a record choices question on it. You must also complete the following fields:
표 1. Details for auto-populating a question based on a record choices answer
Field
Description
Select the dependent question
Question whose answer makes the current question automatically populate.
Select the value field
Field in the source table for the record choices question that contains the value you want to use as the answer to the current question.
You must select the edit icon (), navigate to the field in the source table that contains the auto-populated answer, and select to Apply it. For more info on selecting fields in a
table, see Dot-walking to data in related tables.
Select Save and close when you finish modifying the question.
Revise or add more questions to the form using this procedure. To change a question type, select the question and then select the new question type in the Content
type field of the Question details panel. Selecting a new type may introduce new values you must supply.
Keep these specifications in mind as you create your questions:
You can't change an existing question into a question set. To include a question set on a form, you must newly add it to the form.
If you put two checkbox questions side-by-side on a form, they make a section. You can't add other types of questions to that section.
Now, let's arrange the questions and images that you’ve added to the form.
From the Form elements panel, drag the layout option you like onto the form and drop it where you want it to appear, for example, a Divider line.
Don’t worry if you don’t like the layout, just try another one by dragging it onto the form's canvas.
Revise the form layout you chose using the Section details or Question details panel (depending on the layout you're working on). You can do things like make text bold, add links, and so forth.
주:
To edit or delete a section, you must hover over the section name and then select Section to see the section details in the properties panel, as well
as the delete icon.그림 4. Selecting a section
Select Save in the Section details/Question details panel when you’re done revising the form’s layout.
옵션: See how your form will look in various experiences by selecting the Preview button.
You can see a preview of the how the current version of the form will appear in various experiences by selecting Portal (such as Employee Portal), Now Mobile, or Virtual Agent. You can fill in the form when previewing, but selecting the Submit button doesn't
generate a task record.
그림 5. Preview a form
옵션: Test using the form and the record it generates by selecting the Try it button.
As you test the form, note any updates you'd like to make and then make those changes on the form before you publish it. For details, see Test one of your forms for an app.
결과
Congrats:
Congratulations! You've customized the default form that came with your app.
You can select the Undo all changes option, available in the form header's more options icon (), to reset a form to the most recently published version.