PDA

View Full Version : Problems with a form in first post


Reeve of shinra
02-18-2006, 11:40 PM
I placed the form below in the postbit template.

Here the thing, it works perfectly on every post EXCEPT teh first where it seems to redirect me to inlinemod.php with the following error: "You did not select any posts to which the action you picked can be applied."

Does anyone know where the conflict might be?


<if condition="is_member_of($bbuserinfo, 5, 6, 7)">
<div>
<form action="gilupdate.php" method="post" name="gilform">
<input type="hidden" name="postid" value="$post[postid]">
<input type="hidden" name="userid" value="$post[userid]">

<input type="text" name="amount" size="3">&nbsp;
<input type="image" src="images/coin.gif" border="0" name="submit" alt="Give Points" onClick="javascript:alert('Points Paid!');">

</form>
<br />
<br />
</div>
<div class="smallfont">
Post Points: $post[gilpaid]
</div>
</if>

Princeton
02-19-2006, 12:04 AM
just guessing ... but
make sure you do not have a form within a form

Reeve of shinra
02-19-2006, 12:21 AM
Not that I can tell, this is getting added a little below $post[posts]

Princeton
02-19-2006, 12:29 AM
if it's within a post and you are logged in as admin than most likely you probably have a form within a form

the first post won't work ... but the following post(s) will work because the first form is closed by your "form"