Here's exactly what I'm trying to do: I have a form. There are two text fields that someone can enter information into. Once they hit submit (And not before) I want it to generate a random number between 1 and 100 to be included in the e-mail notification.
If you guys need any more information, please don't hesitate to ask, and I'd like to thank you all in advanced for any assistance you can offer me.
Last edited by VonDeLaus; 06-28-2012 at 09:56 AM..
Thank you so much for your reply! It's not currently working, it seems, but that may be how I'm getting the e-mails sent to me. Currently, I'm using a free form creator from the web, and it sends me e-mail submissions of the form, but I think that may be creating the issue. I'm researching how to create your own form with e-mail submission using PHP or something, so I'll look into it more. If you have any information on that, it'd be greatly appreciated, but since this top is about the random integer, I'll understand if you don't care to address that issue here.
I figured it'd be easy, since all I wanted was two text fields and the hidden integer, but it's giving me more issues than the much larger application form I made!
I got it working! Huzzah! Thank you so much for your assistance! You've been a great help, and very prompt.
This form is for a role-playing site that's based on D&D, and I'm making a form for users to submit a log of them crafting something, and their success is based on a roll of a 100 sided die. If it is equal to or lower than their 'skill number', it is successful. Which is why I wanted it hidden until submission. If it was visibile BEFORE submission, people could cheat the system.