Search the web
Sign In
New User? Sign Up
yhoomobiledevelopers · Yahoo! Mobile Developers Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
submitting form with blueprint   Message List  
Reply | Forward Message #607 of 915 |
Hi,
Anybody have simple sample code on how to submit a form using
blueprint (get or post). I created one that did go to another page
when i press submit but no matter what input i place on the textbox,
the submitted variables did not change. I'm stuck on this.

Thanks for the help

The code I used is below:
it supposed to submit values from the two textbox to formsubmit.aspx
But no matter what I type on the two textboxes the values are always
the default (in models)


Justin

<models>
&#8722;
<model id="personal_info">
&#8722;
<instance>
&#8722;
<data>
<name>justin</name>
<address>ubi ave 1</address>
</data>
</instance>
<submission method="get" resource="formsubmit.aspx"/>
</model>
</models>
&#8722;
<content>
&#8722;
<module>
&#8722;
<header layout="simple">
&#8722;
<layout-items>
<block>module 1</block>
</layout-items>
</header>
&#8722;
<input model="personal_info" ref="name">
<label>Name:</label>
</input>
&#8722;
<input model="personal_info" ref="address">
<label>Address:</label>
</input>
&#8722;
<submit>
<label>submit button</label>
</submit>
</module>
</content>




Wed Oct 8, 2008 9:49 am

justinsubscribe
Offline Offline
Send Email Send Email

Forward
Message #607 of 915 |
Expand Messages Author Sort by Date

Hi, Anybody have simple sample code on how to submit a form using blueprint (get or post). I created one that did go to another page when i press submit but no...
justinsubscribe
Offline Send Email
Oct 8, 2008
3:56 pm

I'm using the following and it's working fine...I wonder if you need to use the "post" instead of "get" in your submission. Normally in HTML I don't think it...
jodibuckingham
Online Now Send Email
Oct 8, 2008
4:42 pm

thanks jodi very much it worked apparently putting model="personal_info" into the input tag was causing the error. Justin <input model="personal_info"...
justinsubscribe
Offline Send Email
Oct 9, 2008
1:04 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help