Text fields in Guest Registration allow multiple lines
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Summary
Pressing enter in a text field adds a new line. Pressing enter should select the next field.
Steps to reproduce
- Start the app and click guest forms
- Click guest registration
- Enter a first or last name and press enter, there will be a new line in the text field
- Click next. Street address, address line 2, and town/city have the same issue when pressing enter
What is the current bug behavior?
The form allows multiple lines in text fields
What is the expected correct behavior?
Pressing enter in a text field should select the next field on the form.
Relevant logs and/or screenshots
Possible fixes
Fragments: java/edu.ncc.nest.nestapp/GuestDatabaseRegistration/Fragments/FirstFormFragment.java java/edu.ncc.nest.nestapp/GuestDatabaseRegistration/Fragments/SecondFormFragment.java
Layouts: res/layout/fragment_guest_database_registration_first_form.xml res/layout/fragment_guest_database_registration_second_form.xml
Labels
(We have not finalized our list of labels, for now, include the labels you would like to include as a comment.