The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
faulty form not going to "post" destination
for some reason this form seems to submit back upon itself rather than going to it's designated destination, can anyone see anything wrong with this code?
HTML Code:
<form name="grps_addgroup" method="post" id="add_group" action="index.php?$session[sessionurl]" source="index.php?$session[sessionurl]do=creategroup"> <input type="hidden" name="userid" value="$bbuserinfo[userid]" /> <input type="hidden" name="action" value="docreategroup" /> <fieldset> <legend>Add New Group</legend> <table width="100%" cellpadding="$stylevar[cellpadding]" cellspacing="0"> <tr class="alt1"> <td width="50%"> Desired Group Name </td> <td width="50%"> <input name="gprs_title" type="text" /> </td> </tr> <tr class="alt2"> <td> Description </td> <td> <textarea name="gprs_description" cols="40" rows="4"></textarea> </td> </tr> <tr class="alt1"> <td> Group Catorgory (code so done on the fly) </td> <td> $cat_drop </td> </tr> <tr class="alt2"> <td> Are You Applying To Be Group Leader Also? </td> <td> <label>Yes: <input type="radio" name="grps_leader" value="$bbuserinfo[userid]" /></label> <label>No: <input type="radio" name="grps_leader" value="NULL" /></label> </td> </tr> <tr class="alt1"> <td colspan="2" align="center"> <input type="submit" name="grps_submit" value="Submit This Group For Creation Moderation" accesskey="s" /> </td> </tr> </table> </fieldset> </form> |
#2
|
||||
|
||||
Quote:
|
#3
|
||||
|
||||
it's meant to be going straight to index.php (from the index.php?do=creategroup)
|
#4
|
||||
|
||||
Then sorry, i don't follow your problem,
"this form seems to submit back upon itself rather than going to it's designated destination" You just said it's index.php, posting to index.php, so yes, it's submitting back onitself, since it's destination is itself ???? |
#5
|
|||
|
|||
Action is where you put the URL to where you want to goto. I do not see a "source" attribute in xthml.
http://www.w3schools.com/tags/tag_form.asp |
#6
|
||||
|
||||
it turned out to be a problem with the code, i set up a redirection but as i didn't enter the phrase it looked like it was just reloading the page.
regarding "source" it may not be valid but can be good when you wanna make sure pages are submitted via your server |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|