UBB.Dev
Posted By: Concorde Hmm... submit? - 07/13/2001 8:45 PM
Hello,

Sorry, but I was trying to develop a simple form which takes the input of a wordlet in the UBB, and sends it to an email address that the admin enters. Nothing I try seems to work, does anyone know how to do this?

Thanks!
Posted By: jordo Re: Hmm... submit? - 07/13/2001 10:03 PM
where are you stuck exactly? a submit button looks like this:

Code
code:
Posted By: Concorde Re: Hmm... submit? - 07/14/2001 2:26 AM
Yep, I know that. My code doesn't seem to be working, I was just wondering if someone could provide a simple resource code that I could refer to. I fill out my form and go submit, but nothing happens.
Posted By: jordo Re: Hmm... submit? - 07/14/2001 3:29 AM
well you have to have the form submit a hidden field with what you want if to do. like:




then in your script do a ReadParse(); and check whether the $in{action} is send_email, and if it is send the email with the form info, if it isnt show the form...

ps: sorry if im incorrectly assuming you dont know this already. smile
Posted By: jordo Re: Hmm... submit? - 07/14/2001 3:33 AM
so it'd be something like:

Quote
perl:
Posted By: CNCR Re: Hmm... submit? - 07/27/2001 11:31 PM


© UBB.Developers