Hi Team associated ( :-) )

iUI parse by default all "root nodes" of the HTML document and add a 
display:none to it. To avoid a "node" to be hided, you should add 
"class="selected" to it.
However, any root block in iUI needs both ID and title.

So i assume your <form> should be like this:
<form id="form" title="wallpaper form" method="POST" 
action="wallpaper-process.htm" name="wallpaperform" class="selected">

And change your submit button to a <a> link
<a class="whiteButton" href="#" onclick="wallpaperform.submit()">Send</a>

Long time i didn't make a form using iUI so i can't be sure at 100% that this 
should work … perhaps a JS function call on the submit button, with 
'this.value" in parameter, could be needed.

Remi

Le 9 janv. 2010 à 00:54, Webmaster, Team Associated a écrit :

> I’m starting to create forms in web pages for the iPhone. I have the 
> following code:
>  
> <form method="POST" action="wallpaper-process.htm">
> <select>
> <option value="wallpaper1.htm">Logo 1</option>
> <option value="wallpaper2.htm">Logo 2</option>
> <option value="wallpaper3.htm">Logo 3</option>
> <option value="wallpaper4.htm">Wallpaper 1</option>
> <option value="wallpaper5.htm">Wallpaper 2</option>
> </select>
>  <input type="submit" value="Send">
> </form>
>  
> However, nothing shows up on the screen. I thought the Select statement will 
> show the Picker in the iPhone. What am I doing wrong?
>  
> I can find many sites that tell me how to create a form. But I don’t see much 
> info on how to process the form in a web page in the iPhone (for the above 
> code, that would be “wallpaper-process.htm”). Do you have any good URLs for 
> me to check it out?
>  
> Thanks!
> Steve
> -- 
> You received this message because you are subscribed to the Google Groups 
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/iphonewebdev?hl=en.

--
You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to