datamade / just-spaces

🏕 A tool from University City District and DataMade to promote better and more just public spaces
https://justspacesproject.org
MIT License
7 stars 1 forks source link

Custom success messages on form submission #108

Open beamalsky opened 5 years ago

beamalsky commented 5 years ago

Currently, submitted surveys have a default success message:

Thank you! Form submitted successfully.

This should be customizable by survey creators and show the name of the form. It should also indicate when a survey is unpublished and the submission was just a preview.

jeancochrane commented 5 years ago

How big of a lift would it be to remove or disable the Submit button from survey previews entirely?

beamalsky commented 5 years ago

A medium lift, I think—I started looking into it enough to see it wouldn't be super simple in Fobi. I then started thinking that it would be nice to let users preview submission messages as well, as long as there's a prominent note that it's a preview. What's your sense of this?

jeancochrane commented 5 years ago

Are we planning to allow the survey designer to customize the submit messages? If not, it's hard for me to think of a case in which I'd want to preview the submit message. But ultimately I think it's a question for the end user, and I'm happy to go in either direction -- seems like both will be a similar about of work, in that we'll have to customize this Fobi stock view.

beamalsky commented 5 years ago

Customizing success/submit messages on surveys is what this issue is for, yes. I think that would be straightforward to add in Fobi and a nice touch, so I'm inclined to say we implement it.