2012-02-08, 06:24 PM
Ok, I will try to explain this clearly.
So: I am coding an application form if someone wants to become a Staff member. I have a button at the end of the form to submit it. The button redirects them to "/private.php?action=send".
My question is: How can I have a recipient and text in the Body of the Private Message already there when they click the Submit button?
I know this can be done on a free host site, since I have done it, but I am trying to manipulate the HTML to work on myBB in the same way. On the free host I used, there was a JavaScript code to fill in the boxes when you clicked the Submit button. How can I do this on myBB? Thanks.
Edit: Another thought I had was uploading a script to my root that places the text in the boxes for you, then somehow open the script when the button is clicked. If that is possible...
So: I am coding an application form if someone wants to become a Staff member. I have a button at the end of the form to submit it. The button redirects them to "/private.php?action=send".
My question is: How can I have a recipient and text in the Body of the Private Message already there when they click the Submit button?
I know this can be done on a free host site, since I have done it, but I am trying to manipulate the HTML to work on myBB in the same way. On the free host I used, there was a JavaScript code to fill in the boxes when you clicked the Submit button. How can I do this on myBB? Thanks.
Edit: Another thought I had was uploading a script to my root that places the text in the boxes for you, then somehow open the script when the button is clicked. If that is possible...