nanaze / legal

0 stars 3 forks source link

Complete form #2

Open nanaze opened 7 years ago

nanaze commented 7 years ago

Items necessary for form:

Name (first, last) Location (City, State) Checkboxes for need (AI: Sara will send list of topic areas) Prefer to be contacted by email or phone Contact information (phone or email) Text box for any additional information (don’t tell us your whole story - just a brief note about how to contact you)

andrewhubbs commented 7 years ago

Which fields should be required?

nanaze commented 7 years ago

For right now we'll take anything that's given. Forcing required fields is a nice-to-have, but primarily we just want a dump of whatever was given.

nanaze commented 7 years ago

Feel free to open another issue to track required-field functionality.

andrewhubbs commented 7 years ago

Should I use the field values that are in the mockup or the values that are in this ticket?

nanaze commented 7 years ago

The canonical list is in this ticket. The mockup is more a visual guide of what it should look like.

andrewhubbs commented 7 years ago

What do we want to do for the redirect after post? Seems to me best option is to just make it an AJAX request and flash some success message/clear the form. Didn't want to go adding a bunch of JS if that wasn't what we wanted though.

https://github.com/nanaze/legal/pull/4

nanaze commented 7 years ago

What do we want to do for the redirect after post?

Render a page thanking for submission -- right now it just renders a blank page. No JS needed.