HTML Page Form Send Issue
2 posters
Page 1 of 1
HTML Page Form Send Issue
Technical Details
Forum version : phpBB3
Position : Administrator
Concerned browser(s) : Internet Explorer
Who the problem concerns : All members
When the problem appeared : Today
Forum link : http://monstrosity.forumotion.com/
Description of problem
I've created a form which gives the users some options to send to me via email. When you click send, Microsoft Outlook gets pulled out and the email does not contain the info from the form, so the data does not get sent to me. What must I do to achieve that?Also, is there an option other than email that would work with this forum. Perhaps a private message in the forum instead? Ive reviewed some HTML guides and have not gotten anywhere.
<form action="mailto:myemail@gmail.com" method="post" enctype="text/plain">
<legend>Player info</legend>
Battle.net Id:<br>
<input type="text" name="id">
<br><br>
Which role do you want to play?(Pick 1 or 2 only)<br>
Assassin<input type="checkbox" name="role" value="Assassin"><br>
Specialist<input type="checkbox" name="role" value="Specialist"><br>
Support<input type="checkbox" name="role" value="Support"><br>
Tank<input type="checkbox" name="role" value="Tank">
<br><br>Additional Info(Include 4 favorite Heroes):<br><textarea name="comments" rows="6"
cols="65"></textarea><br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
Re: HTML Page Form Send Issue
Hi,
You can pretty much recreate an form on the forum, provided you know how to inspect the source code. Here's an example of sending a PM to 1 specific person :
The HTML should go in an HTML page. I've added comments to explain, but if you have any questions, feel free.
Note : You should disable the following security setting.
General > Forum > Security > Unauthorize unofficial forms to post messages and private messages on the forum
Otherwise, you will encounter a small error.
You can pretty much recreate an form on the forum, provided you know how to inspect the source code. Here's an example of sending a PM to 1 specific person :
- Code:
<form action="/privmsg" method="post" name="post" enctype="multipart/form-data">
<fieldset>
<dl>
<dt><label for="pm-title">Subject : </label></dt>
<dd><input id="pm-title" type="text" name="subject"/></dd> <!-- The subject is required, much like any input you can assign a default value with the value attribute ( value="my title" ) -->
</dl>
<dl>
<dt><label for="pm-msg">Message : </label></dt>
<dd><textarea id="pm-msg" name="message"></textarea></dd> <!-- You can insert automatic values by typing between the textarea tag -->
</dl>
<div style="text-align:center;">
<input type="hidden" name="username[]" value="Ange Tuteur"/> <!-- the value contains the name of the member this PM will be sent to -->
<input type="submit" name="post" value="send"/> <!-- clicking this sends the message -->
</div>
</fieldset>
</form>
The HTML should go in an HTML page. I've added comments to explain, but if you have any questions, feel free.
Note : You should disable the following security setting.
General > Forum > Security > Unauthorize unofficial forms to post messages and private messages on the forum
Otherwise, you will encounter a small error.
Re: HTML Page Form Send Issue
Thanks!
One More Question:
I've been trying to align the text boxes to be positioned right next to 'Subject" and "Message" using align = "left" but I cant seem to get it correct. As of right now the text boxes are almost all the way to the right of the screen and the text "Subject" and "Message" are all the way to the left. I've also tried to move around:
<div style="text-align:Left;">, but have had no success. What's the trick to this?
http://monstrosity.forumotion.com/
One More Question:
I've been trying to align the text boxes to be positioned right next to 'Subject" and "Message" using align = "left" but I cant seem to get it correct. As of right now the text boxes are almost all the way to the right of the screen and the text "Subject" and "Message" are all the way to the left. I've also tried to move around:
<div style="text-align:Left;">, but have had no success. What's the trick to this?
http://monstrosity.forumotion.com/
Re: HTML Page Form Send Issue
That's from the dl, dt, and dd tags. You can remove them if you like. Here' a set with them removed.
- Code:
<form action="/privmsg" method="post" name="post" enctype="multipart/form-data">
<label for="pm-title">Subject : </label>
<input id="pm-title" type="text" name="subject"/> <!-- The subject is required, much like any input you can assign a default value with the value attribute ( value="my title" ) -->
<label for="pm-msg">Message : </label>
<textarea id="pm-msg" name="message"></textarea> <!-- You can insert automatic values by typing between the textarea tag -->
<div style="text-align:center;">
<input type="hidden" name="username[]" value="Ange Tuteur"/> <!-- the value contains the name of the member this PM will be sent to -->
<input type="submit" name="post" value="send"/> <!-- clicking this sends the message -->
</div>
</form>
Similar topics
» How to Embed a Google Docs Form into an HTML page using HTML Pages Management
» Form to send PM's?
» How to create a custom HTML page to send newsletter/email?
» Issue with Html Page
» HTML page issue
» Form to send PM's?
» How to create a custom HTML page to send newsletter/email?
» Issue with Html Page
» HTML page issue
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum