Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

email form: <label> tags instead of $key

2 views
Skip to first unread message

Paris

unread,
Jul 1, 2009, 2:00:21 AM7/1/09
to Web Form Factory
I'm using form to email.
In the email sent, how could i get the <label></label> tags instead of
the input name?

So the email reads:
First name: John
Last name: Smith

instead of:
fn2: John
ln2: Smith

In the html form, usual label input pair :

<label for="fn2">First name</label>



I'm guessing in this:
$message .= $key." : ".$_POST[$key]."\n";

I want the label instead of the $key

I just don't know how...

Thanks

P.
Reply all
Reply to author
Forward
0 new messages