View Single Post
Old 06-02-2009, 08:53 PM   #14 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

I've had a play, and it does appear that FancyForm uses the name attribute. Take a look at the attached file for the example I've been modifying. By clicking on the button you'll see the POST fields submitted.

html4strict Code:
<h2>TalkPHP Example</h2>

<form action='index.php' method="post">
    <label><input type="checkbox" name="SingleElement" checked="checked"> I'm a fancy cross-browser styled checkbox</label>
    <input type="submit" value="Submit Form" style='margin:1em;height:2.5em;background:#222;float:right;color:#fff'>
</form>
Attached Files
File Type: rar TalkPHP_FancyForm_Example.rar (25.8 KB, 51 views)
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
The Following User Says Thank You to Wildhoney For This Useful Post:
Kay1021 (06-02-2009)