Dear Anvil workers,
I’m looking for assistance with building a simple application form.
Purpose: The form collects data from the user and submits it to the backend.
Upon successful payment, the backend generates a downloadable file.
Interaction: The user answers questions displayed on consecutive panels. Clicking “NEXT” hides the current panel and reveals the next one.
Data: Responses are collected for submission to the backend as a string.
String format example:
- John;john@appleseed.com;YES,Test_file.xlsx,paymentOK - Adam;adam@yahoo.com,NO,Option1,Option1a,Option4c, option7,option10,Test_file.xlsx,paymentOK.
File selection: On a dedicated panel, the user selects a one file in Excel format (xlsx) with a maximum size of 10 Mb.
Payment: After providing the answers, the user is prompted for payment.
Success: Upon successful payment panel appears with a link to download the file generated by the backend.
Failure: If payment fails, the user is navigated to the beginning of the form, their data is deleted, and they are redirected to the start.
Additional information:
- The form is interactive, meaning the user only sees one panel at a time.
- The file is selected on a dedicated panel.
- The backend generates the downloadable file after receiving all data and confirming payment.
- Connection between form and backend (python script) – TBD
The estimated time from the moment the form calls the Python script with a string and file to when the output file is ready for the user to download is approximately 5 seconds.
Stripe payments:
Payment form should be simple. Credit cards payment only. Financial aspects such as taxation rules and invoices should be carried out by the Stripe exclusively. Online payments | Stripe Documentation.
iven its simplicity, we are targeting delivery by the end of May to mid-June.
We are keen to host applications together with Python backend in Anvil running subscription if possible
A mockup and detailed summary can be found here: PDF
Please reach out for more info at lukasz.wyczawski@icloud.com
Thank you and have a wonderful Sunday!