HTML Form and posting.
2 posters
Page 1 of 1
HTML Form and posting.
Hello, at beginning i want to say, that i dont live in English Speaking country, so... please be tolerant ^^
I have small problem with form. I want form, that can user easily fill and then send as post to thread. I mean, for example I fill information about my RP character (name, gender, birthday, etc) and then I can send it as post to thread, but I dont know, how can I do it. I actually have HTML code (my HTML is not so good, it can be probably only big fail (i think my HTML code)) with form, but when i want to send it, it redirects me to forum and then I see only "You must choose Topic, where you want to response" (Im sorry, I dont know, how it can be in English, I tried best translation) and nothing happen. Can someone please help me? It can be really good for me, if it works ^^ Thx to everyone
HTML Code:
I have small problem with form. I want form, that can user easily fill and then send as post to thread. I mean, for example I fill information about my RP character (name, gender, birthday, etc) and then I can send it as post to thread, but I dont know, how can I do it. I actually have HTML code (my HTML is not so good, it can be probably only big fail (i think my HTML code)) with form, but when i want to send it, it redirects me to forum and then I see only "You must choose Topic, where you want to response" (Im sorry, I dont know, how it can be in English, I tried best translation) and nothing happen. Can someone please help me? It can be really good for me, if it works ^^ Thx to everyone
HTML Code:
- Code:
<form action="/post" method="post">
<fieldset>
<legend>Potvrzení Technik</legend>
Postava:
<input size=20><br>
Technika:
<input size=20><br>
Typ:
<input size=20><br>
Třída:
<input size=20><br>
Účinek:
<input size=20><br>
Popis:
<input size=20><br></fieldset>
<input type="hidden" name="lt" value="13138">
<input type="hidden" name="auth[]" value="6c4d97905afdf1872894e47a201aff97">
<input type="hidden" name="auth[]" value="ec98d707580d3abc4abd293149a14ae3">
<input type="hidden" name="mode" value="reply">
<input class="mainoption" type="submit" name="post" value="Send" tabindex="6" accesskey="s">
</form>
Takeru Takahashi- New Member
- Posts : 3
Reputation : 1
Language : Czech Republic
Re: HTML Form and posting.
You'll need a hidden input with name of 't' and the value is the topid ID.
Also, these inputs;
<input type="hidden" name="lt" value="13138">
<input type="hidden" name="auth[]" value="6c4d97905afdf1872894e47a201aff97">
<input type="hidden" name="auth[]" value="ec98d707580d3abc4abd293149a14ae3">
They change very often... so you can't have them fixed in html.
Also, these inputs;
<input type="hidden" name="lt" value="13138">
<input type="hidden" name="auth[]" value="6c4d97905afdf1872894e47a201aff97">
<input type="hidden" name="auth[]" value="ec98d707580d3abc4abd293149a14ae3">
They change very often... so you can't have them fixed in html.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: HTML Form and posting.
Yaaa ^_^ Thanks you very much (bow). Ok, then i'll delete them, if I cant have them fixed. I also add a new "tag" to my html, now it looks like this.
But now, when I want to send it, forum says "You must fill text of post" or something like that (as i say, i must translate it xD So, if you dont understand, just say ^_^)
- Code:
<form action="/post" method="post">
<fieldset>
<legend>Potvrzení Technik</legend>
Postava:
<input size=20><br>
Technika:
<input size=20><br>
Typ:
<input size=20><br>
Třída:
<input size=20><br>
Účinek:
<input size=20><br>
Popis:
<input size=20><br></fieldset>
<input type="hidden" name="mode" value="reply">
<input type="hidden" value="568" name="t">
<input class="mainoption" type="submit" name="post" value="Send" tabindex="6">
</form>
But now, when I want to send it, forum says "You must fill text of post" or something like that (as i say, i must translate it xD So, if you dont understand, just say ^_^)
Takeru Takahashi- New Member
- Posts : 3
Reputation : 1
Language : Czech Republic
Re: HTML Form and posting.
Yes the main field needs to be a textarea. The name needs to be 'message'.
That is what the normal form has and needs mimicked.
It's possible to use input fields, but it would require some JavaScript to gather the info of them input fields and put them into one message field so it can send.
That is what the normal form has and needs mimicked.
It's possible to use input fields, but it would require some JavaScript to gather the info of them input fields and put them into one message field so it can send.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: HTML Form and posting.
Eh, that sound so difficult T_T But i think forumotion support JavaScript... that means i need only to make some JavaScript, then make JavaScript page at my forum and then what? Link from HTML to JavaScript or something like that? And can you tell me please something about that Java? Just some little information, because i want to google it. Thank you for your time
Takeru Takahashi- New Member
- Posts : 3
Reputation : 1
Language : Czech Republic
Re: HTML Form and posting.
You need to do more research into how HTML forms actually work. Not javascript.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Similar topics
» HTML Form
» Posting a new topic with the use a form
» HTML Page Login Form redirect to another Html Page when failed
» Help With HTML Form Please
» Form to HTML/BB?
» Posting a new topic with the use a form
» HTML Page Login Form redirect to another Html Page when failed
» Help With HTML Form Please
» Form to HTML/BB?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum