The SearchForm instance contains helper methods for each predefined form's fields.
Example:
val form = api.forms('everything')
.page(3) // specify the field 'page'
.pageSize(20) // specify the 'page_size' field
val results = form.submit() // submit the search form
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
A SearchForm represent a Form returned by the prismic.io API.
These forms depend on the prismic.io repository, and can be filled and sent as regular HTML forms.
You may get a SearchForm instance through the io.prismic.Api.forms method.
The SearchForm instance contains helper methods for each predefined form's fields.
val form = api.forms('everything') .page(3) // specify the field 'page' .pageSize(20) // specify the 'page_size' field val results = form.submit() // submit the search form