lew14 Posted November 5, 2011 Share Posted November 5, 2011 I am working with a script and there is an error with the reply code in the admin support.php. When I put in reply information and click the the check box for submit reply and close this ticket now and then the submit to reply or if I click the submit reply button alone; the button will not respond. Can someone help me with the actual code to get the check box and the the submit to reply button to work? [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
trq Posted November 5, 2011 Share Posted November 5, 2011 I suggest you post the relevant code here within tags. Quote Link to comment Share on other sites More sharing options...
lew14 Posted November 5, 2011 Author Share Posted November 5, 2011 Below is the code in the support.php for the submit to reply button and the close ticket now button. echo"<p>"; echo" <form method=post>"; echo" <p align=\"center\">Reply To This Ticket:</p>"; echo"<p align=\"center\"><textarea rows=\"15\" cols=\"40\" name=\"reply\" cols=\"20\"></textarea><br></p>"; echo"<center>"; echo"<center><input type=\"checkbox\" name=\"ticketstatus\" value=\"Closed\"> Submit Reply And Close This "; echo"Ticket Now<p>"; echo"<input type=hidden name=\"id\" value=\"$id\">"; echo"<input type=hidden name=\"origid\" value=\"$origid\">"; echo"<input type=hidden name=\"timesubmitted\" value=\"$timesubmitted\">"; echo"<input type=hidden name=\"memberid\" value=\"$memberid\">"; echo"<input type=\"hidden\" name=\"admpage\" value=\"support\">"; echo"<input type='hidden' name='adm_passwd' value='$adm_passwd'>"; echo"<input type=submit name=Submit class=\"form-button\" value=\"Submit Reply\">"; echo"<input type=hidden name=action value=\"reply to ticket\">"; echo"<p>"; echo" </form></font><p></p>"; echo"<p> <form method=post>"; echo" <p align=\"center\"></p>"; echo"<p align=\"center\"></p>"; echo"<center>"; echo"<center><input type=\"hidden\" name=\"ticketstatus\" value=\"Closed\">If the ticket is resolved and you'd like to close it without an additional reply, click the following button to close it now.<p>"; echo"<input type=hidden name=\"id\" value=\"$id\">"; echo"<input type=hidden name=\"origid\" value=\"$origid\">"; echo"<input type=hidden name=\"timesubmitted\" value=\"$timesubmitted\">"; echo"<input type=hidden name=\"memberid\" value=\"$memberid\">"; echo"<input type=\"hidden\" name=\"admpage\" value=\"support\">"; echo"<input type='hidden' name='adm_passwd' value='$adm_passwd'>"; echo"<input type=submit name=Submit class=\"form-button\" value=\"Close Ticket Now\">"; echo"<input type=hidden name=action value=\"close ticket now\">"; echo"<br>"; echo" </p>"; It will not allow me to reply to ticket or reply and the close ticket. The button will not respond to either action. Quote Link to comment Share on other sites More sharing options...
trq Posted November 5, 2011 Share Posted November 5, 2011 I would suggest you try and validate your markup firstly. There are plenty of errors in it. Quote Link to comment Share on other sites More sharing options...
lew14 Posted November 5, 2011 Author Share Posted November 5, 2011 Thank you, now I know what to look for to solve the problem. Quote Link to comment Share on other sites More sharing options...
trq Posted November 5, 2011 Share Posted November 5, 2011 That might not solve the problem, but I would start there first. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.