AutoForm: post data Options
Ig_p118
Posted: Thursday, August 03, 2006 10:19:08 AM
Rank: Fanatic

Joined: 7/21/2006
Posts: 221
Location: Salerno - Italy
I have create a form with autoform... that is

<P>Cognome <INPUT name=umbFormCognome></P>
<P>Nome <INPUT style="WIDTH: 138px; HEIGHT: 21px" size=21 name=umbFormNome></P>
<P>Elenco <INPUT style="WIDTH: 0px; HEIGHT: 0px" type=hidden value=mailForm name=umbracoAction><INPUT style="WIDTH: 0px; HEIGHT: 0px" type=hidden name=umbracoRedirect><INPUT style="WIDTH: 0px; HEIGHT: 0px" type=hidden name=sendTo></P>
<P><INPUT style="WIDTH: 89px; HEIGHT: 22px" type=submit size=127 value="Invia query" name=sbmt></P>


How Can I retrieve post data in new form?
How Can I create form that use theese data?
How Can I save data?

Thanks

Red Consulting s.a.s - Umbraco from v1.0
neehouse
Posted: Friday, August 11, 2006 5:09:20 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,072
Location: Charleston, West Virginia, United States
I think you probably need to write a user control to do more complex forms.

AutoForm is designed to do basic forms such as Comments, Replys, and Feedback type stuff. More complex forms would be better handled in a user control.

Hope this helps

Case

• 2007/2008 MVP • 2008/2009 MVP • Core Developer • Certified Professional Level I & II •
Ig_p118
Posted: Friday, August 11, 2006 10:02:29 AM
Rank: Fanatic

Joined: 7/21/2006
Posts: 221
Location: Salerno - Italy
How communicate usercontrol with umbraco system?

Red Consulting s.a.s - Umbraco from v1.0
neehouse
Posted: Friday, August 11, 2006 3:36:45 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,072
Location: Charleston, West Virginia, United States
You reference the usercontrol in a Macro, similar to XSLT. Your usercontrol then needs to be placed in either a template or the rich text editor. Be sure to include the ASPNET_FORM tags in the template around where the usercontrol content will be rendered.

Your user control will receive the data back as part of the objects that you are using.

<a href="http://forum.umbraco.org/1748">This thread</a> has a simple example of a user control for doing feedback/comments. Look at about the 10th post.

• 2007/2008 MVP • 2008/2009 MVP • Core Developer • Certified Professional Level I & II •
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.