Hi, thanks for taking the time to read.
My site will offer short written exercises for English learners, that students can complete and submit for feedback from an English tutor.
Site members can access the ‘Work Zone’ where there are various categories of exercise.
Members can choose one of many exercises from across these categories to complete and submit for feedback. Each worksheet is purchased individually.
The content of many of the worksheets is displayed using dynamic data. Below is a preview of one of the dynamic worksheets in the 'Short Composition' category, where there are 10 dynamic worksheets in a section called 'personal writing'.
Right now, each exercise has two collections: one to display the content (read-only) such as the icons, question title, etc, and one to collect the customer’s entry and feedback preferences, which is write-only.
For example, for the 10 ‘personal writing’ worksheets there is the display collection ‘Sc-Personal’ and the submissions collection ‘Sc-personal-submissions’.
I’ve labelled some of the parts of the image with their respective form fields and datasets.
I need help with the following:
Ø data collected in the form submissions:
1. I want the submitted forms to capture the title/exercise ID of the worksheet, which comes from the read-only collection, and submit it to the submissions dataset relevant category along with the rest of the entry. As an alternative to there being a submissions table for every exercise, it would be better for all submissions to go into one dataset, but only if that dataset were able capture the details of the exercise such as category, subcategory, title, and ID from the relevant ‘read only’ data so that the teacher who receives it will have those details.
2. I want the submitted form to capture the email of the logged-in user and submit it to the submissions dataset.
Ø ‘Button’ element:
The submit/payment button is not functioning as I want it to.
When the user has filled out the fields (all required), then clicking on the button that reads ‘submit’ should lead them to checkout. Once successful, it should redirect them to a thank you/well done page. Currently, the button is submitting the data and redirecting the page before the customer has completed payment.
-Once the customer has paid for the exercise, only then their form entry should be submitted to the submissions collection.
-Once the customer has paid for the exercise and the data has been successfully submitted to the submissions collection, only then should they be redirected to the ‘thank you/well done’ page I specify.
I'd be happy to compensate someone for their time to help me with this or do it for me and show me how they did it if only I knew the right place to find them. I also suspect these issues are relatively simple for anyone who knows what they're doing!
Nonetheless, it'd be a massive help to me and I'd appreciate any guidance, tips or nudges in the right direction. Thanks!