I couldn't find it either, as a workaround i created a form in umbraco (this way you can have multiple steps as well) and created a workflow to save the content to an external database, this way you can retrieve the id of the inserted record and add additional logic, you can query record.membername and session/querystring values there as well. Let me know if you need some code.
However, it would be great to be able to add record.Ip and record.membername to the external datasource though :-)
Yeah, that's right. It works the same way for multi-page forms, you can retrieve all the fields in the submit stage of the workflow. I'm sure this won't be necessary anymore in future versions, for now, once you've figured out how everything works you can still gain lots of time because you only have to take care of saving data : the form can be updated, validation, multi-page is all done by umbraco
Using SqlServer Data source
When using the special "Data Source" option to connect to an existing table how would I insert the record.Ip and record.membername into this table?
oh and is it possible to have multiple steps when using the Data sources approach?
Comment author was deleted
Hi Yannick, currently it isn't possible to have multiple steps when the form is attached to a Data Source
Thanks Tim, what about my first question?
Anyone?
I couldn't find it either, as a workaround i created a form in umbraco (this way you can have multiple steps as well) and created a workflow to save the content to an external database, this way you can retrieve the id of the inserted record and add additional logic, you can query record.membername and session/querystring values there as well.
Let me know if you need some code.
However, it would be great to be able to add record.Ip and record.membername to the external datasource though :-)
Hi Kevin, that would help. Can you send it to yannick(a.t)goyaweb.nl? thanks!
Hope this helps!
I'm trying to understand the code. Basically you attach this to the "When the form has been submitted" workflow event, right?
How would you extend this example to support multi-page?
What do you think is still the advantage of using Contour instead of building your own form?
Yeah, that's right. It works the same way for multi-page forms, you can retrieve all the fields in the submit stage of the workflow.
I'm sure this won't be necessary anymore in future versions, for now, once you've figured out how everything works you can still gain lots of time because you only have to take care of saving data : the form can be updated, validation, multi-page is all done by umbraco
Do you know which method to override when using multi-page? I think Contour also saves partial submits.
is working on a reply...