|
|
Rank: Aficionado
Joined: 7/21/2006 Posts: 183 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
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,069 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 •
|
|
Rank: Aficionado
Joined: 7/21/2006 Posts: 183 Location: Salerno - Italy
|
How communicate usercontrol with umbraco system?
Red Consulting s.a.s - Umbraco from v1.0
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,069 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 •
|
|
|
Guest |