Replacing the generic input type attribute "text" can improve browsers' handling of the fields, for instance "validation parameters and relevant keyboard in supporting browsers and devices with dynamic keyboards." https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
Created attachment 155898 [details] [review] Bug 34831: Add input types "tel", "email" and "url" to vendor edit form This patch updates the vendor edit form so that phone, email, and url fields have an input type corresponding to the field's content. To test, apply the patch and go to Acquisitions. - Create or edit a vendor. - In the form, check that each field looks correct: - Company details -> - Phone - Fax - Website - Contact details - Phone - Alternative phone - Fax - Email - Interfaces - URI - Account email In a desktop browser the inputs won't display any differently, but if you test the patch in a sandbox you can try it in a mobile device browser to confirm that the onscreen keyboard changes based on the type of input.
Created attachment 156235 [details] [review] Bug 34831: Add input types "tel", "email" and "url" to vendor edit form This patch updates the vendor edit form so that phone, email, and url fields have an input type corresponding to the field's content. To test, apply the patch and go to Acquisitions. - Create or edit a vendor. - In the form, check that each field looks correct: - Company details -> - Phone - Fax - Website - Contact details - Phone - Alternative phone - Fax - Email - Interfaces - URI - Account email In a desktop browser the inputs won't display any differently, but if you test the patch in a sandbox you can try it in a mobile device browser to confirm that the onscreen keyboard changes based on the type of input. Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com>
Created attachment 156409 [details] [review] Bug 34831: Add input types "tel", "email" and "url" to vendor edit form This patch updates the vendor edit form so that phone, email, and url fields have an input type corresponding to the field's content. To test, apply the patch and go to Acquisitions. - Create or edit a vendor. - In the form, check that each field looks correct: - Company details -> - Phone - Fax - Website - Contact details - Phone - Alternative phone - Fax - Email - Interfaces - URI - Account email In a desktop browser the inputs won't display any differently, but if you test the patch in a sandbox you can try it in a mobile device browser to confirm that the onscreen keyboard changes based on the type of input. Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Pushed to master for 23.11. Nice work everyone, thanks!
Enhancement not pushed to 23.05.x