Closed iteles closed 6 years ago
@iteles - when you say:
Submitting the contact form sends an email to a particular support email
Do you mean one particular support email (for all of the submitted forms) or do you mean a particular email according to the type of form submitted ie. sales requests go to one email address and technical problems go to another one?
Good question @Cleop, I'll run these by our PO tomorrow
The Apostrophe tutorial suggests you use the apostrophe-pieces-submit-widgets package. So I started off with @this.
Had to also add the events and pieces modules as this is what the pieces-submit-widgets
module said:
Using the examples I successfully got a form to show:
But I have not yet done anything to do with submitting the form as there are no instructions on this. So at the moment when you try to submit the form you get this error:
I tried ensuring we had a 'title' by adding this:
And now I see this and no errors, so now I need to work out where the submissions will go. I think I need to add a slug somewhere to find this out:
I checked the entire MongoDB collection and could not find any saved entries, I also tried checking the admin dashboard and there's nothing saved there.
I've come across this module which up until now has not been advertised anywhere so maybe it's not very good or maybe it's not been made by apostrophe themselves.... https://www.npmjs.com/package/apostrophe-forms
This question/answer: https://github.com/apostrophecms/apostrophe/issues/684 https://stackoverflow.com/questions/41708130/creating-forms-in-aposstrophe-cms Questions
I tried to search for the 'Submit Your Event' text to find this to style and couldn't find it anywhere in the project, not even in my ignored files. Same with 'Submit Now' for the submit button, wasn't anywhere to be found.
@iteles - can the dropdown list checkbox be taken out of the list of requirements as it wasn't in the designs?
Closing this issue as email alerts are now captured in #42
As a site owner I would like to have a page with a contact form which allows visitors to select from a drop-down list of subjects So that both our visitors have the ability to contact us and also so that we know how best to direct their enquiry.
Acceptance