Skip to content
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

Adding id, name, and value to form fields. #194

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

coryveilleux
Copy link

@coryveilleux coryveilleux commented Mar 26, 2019

Currently form fields are missing id, name, and value.

For name, this means that the fields and their data are not submitted.

For value, on pages where submits send the user back to the form, this means that all values would be cleared out after form submission rather than being preserved in the form.

On the previous line you can see the label is using the node.id, so using this in the input for id and name. Using the form fields data as the input's value.

Currently form fields are missing id and name. On the previous line you can see the label is using the node.id, so using this in the input to match.
Similar to id and name, value wasn't present on the inputs. On pages where submits send the user back to the form, this would mean that all values would be cleared out after form submission rather than being preserved in the form.
@coryveilleux coryveilleux changed the title Adding id and name to form fields. Adding id, name, and value to form fields. Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant