December 2019
Intermediate to advanced
598 pages
12h 21m
English
It's time to implement the form to ask a question. We'll do this by taking the following steps, leveraging the Form and Field components we just created:
import { Form } from './Form';import { Field } from './Field';
<Page title="Ask a Question"> <Form submitCaption="Submit Your Question"> <Field name="title" label="Title" /> <Field name="content" label="Content" type="TextArea" /> </Form></Page>
So, the form will contain fields for the question title and content and the submit button will have the caption Submit Your Question.
Read now
Unlock full access