-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Form Types #87
Comments
I'll look at adding these types in the forms plugin. However it's very easy to just copy one of the other form fields like email into your themes template folder and modify it for telephone. |
All the types already exists in Gantry, btw. I think you can pretty easily copy them. |
rhukster
added a commit
that referenced
this issue
Aug 23, 2016
added |
rhukster
added a commit
that referenced
this issue
Aug 31, 2016
* Some prelim refactoring * improved way of getting first form * incremental improvements * Refactored to work better * Fixes for serialization * Cleanup for on-page functionality * tidy and cleanup * performance optimizations * cleanup * Use associative array to pass `route` and `name` of form via Twig function * Added the ability to use Twig in 'save' action's filename [#81](#81) * Better default modular template * Fixed a modular backwards compatibility regression issue * cleanup and refactor * Added some missing HTML5 input field types - #87 * Add support for form specific rules * Fix autoescaping * Add Forms CSS file * Add support for inline-errors * created a `formname` field * minor form css tweaks * Don't overwrite normal forms. * Some small fixes * Added ability to disable form CSS * minor route fixes * Refactor to remove grav local instance from form object * position inline errors inside `form-data` * Cache flat_forms and lookup forms by name only.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need the ability to specify additional HTML5 form types. For example, Number and Tel.
When specifying Text and validate as number, it renders an input element of type text. If we want mobiles to offer a numerical keypad to aid user input, we need to be able to specify the relevant Number or Tel input types.
The text was updated successfully, but these errors were encountered: