XUpload - how to use email_required option

Message
Author
damian
Posts: 2
Joined: Jan 18, 2007 5:30 pm

how to use email_required option

#1 Postby damian » Jan 18, 2007 5:32 pm

Hello - I'm trying to make sure a visitor has to supply an email address with their upload.

I set the value for requiring an email to 1:

Code: Select all

 # Email field required (optional)
 # Force users to enter their email address. Upload notification to that email will be sent.
 # Leave empty to disable, set to 1 to enable
 email_required => '1',
But how do I implement that in the form?

Thanks!

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jan 19, 2007 6:38 am

The same like in demo form: after turning on email in config add text input to your form:

Code: Select all

<input type="text" name="email_notification">