Yes, it coudl work. However, the succesful message is usually sent asynchronously, so you'd need to update the record through the API of Contour, which is pretty easy to get into.
Looks like:
- Dropdownlist
- Some textfields for the information
- A dropdownlist for the amount or a textbox with a regex to make sure the amount is valid
- Confirmation page could be done by some custom workflow that opens a page with the submitted recordId so you can get the values from the form to show them
- Send info to merchant could be a custom workflowtype
- Create some custom code to use the succesful message to approve the form
Sebastiaan, Thanks for the fast reply. The current form is written in asp. When I doing the new site with umbraco, I try to use contour to covert the current donation form to the new umbraco site. I will try to create form and workflow with contour. And maybe ask more questions.
1. I not sure how to use contour to achive is this: base on the step one select donation type, in the step two some of form text feilds label will changes accordingly.
2. using the contour add step process, if donation url has the donation type, can it directly go to step 2, skip step 1?
Ah, didn't know there was something variable in the form steps.. That's going to be quite tricky I guess, I'm not sure how I would set that up actually.
But if you already have an existing form then why not just use that? I'm sure you can put it into a usercontrol and use it in Umbraco as a macro!
However, the exsiting form is written in .asp and ms access database. Put it into a usercontrol and connect to sql db, update the new tabel ect, I think I need recreate the form anyway.
Make a simple form with just the dropdown, then use a custom workflowtype (see the Contour Contrib project's source code for an example) to redirect to a different form based on the first form's value.
- To get to Confirmation page if I create custom workflow that opens a
page with the submitted recordId and get the values from the
form to show data, if user confirmed then send the data to merchant, if click back then back to form.
- If "Send info to merchant could be a custom workflowtype", how I make sure it only excute this workflowtype if confirm page post yes
- "Create some custom code to use the succesful message to approve the
form" - user control? or another custom worlkflow type?
Please advise, I don't understand how contour workflowtype works. I have looked at contour contrib source code, but still didn't figure out how should I archive this donation form with contour.
using contour create donation form
Did anyone use contour to create a donation form? I try to do a donation form has five steps:
Can contour form archive this?
Yes, it coudl work. However, the succesful message is usually sent asynchronously, so you'd need to update the record through the API of Contour, which is pretty easy to get into.
Looks like:
- Dropdownlist
- Some textfields for the information
- A dropdownlist for the amount or a textbox with a regex to make sure the amount is valid
- Confirmation page could be done by some custom workflow that opens a page with the submitted recordId so you can get the values from the form to show them
- Send info to merchant could be a custom workflowtype
- Create some custom code to use the succesful message to approve the form
Sebastiaan, Thanks for the fast reply. The current form is written in asp. When I doing the new site with umbraco, I try to use contour to covert the current donation form to the new umbraco site. I will try to create form and workflow with contour. And maybe ask more questions.
Can contour create a hidden form feild?
On your last question: http://umbraco.org/blog/2010/8/10/contour-11-is-out!
Hope this helps.
Regards,
/Dirk
Thanks. Two more things:
1. I not sure how to use contour to achive is this: base on the step one select donation type, in the step two some of form text feilds label will changes accordingly.
2. using the contour add step process, if donation url has the donation type, can it directly go to step 2, skip step 1?
Ah, didn't know there was something variable in the form steps.. That's going to be quite tricky I guess, I'm not sure how I would set that up actually.
But if you already have an existing form then why not just use that? I'm sure you can put it into a usercontrol and use it in Umbraco as a macro!
However, the exsiting form is written in .asp and ms access database. Put it into a usercontrol and connect to sql db, update the new tabel ect, I think I need recreate the form anyway.
Hmm, yeah that would suck.
Well, you could always do it like this:
Make a simple form with just the dropdown, then use a custom workflowtype (see the Contour Contrib project's source code for an example) to redirect to a different form based on the first form's value.
- To get to Confirmation page if I create custom workflow that opens a page with the submitted recordId and get the values from the form to show data, if user confirmed then send the data to merchant, if click back then back to form.
- If "Send info to merchant could be a custom workflowtype", how I make sure it only excute this workflowtype if confirm page post yes
- "Create some custom code to use the succesful message to approve the form" - user control? or another custom worlkflow type?
Please advise, I don't understand how contour workflowtype works. I have looked at contour contrib source code, but still didn't figure out how should I archive this donation form with contour.
Thanks in advance!
is working on a reply...