anunay Posted June 21, 2010 Share Posted June 21, 2010 I am customizing the theme for WHCMS, and i am stuck here in submitticket.php as it does not allowed me to submit ticket. It says that it requires email address and name from the user even if there is no field to enter such information in the form provided by whmcs. Please have a look at the screenshot that i have attached here. 0 Quote Link to comment Share on other sites More sharing options...
multisoft Posted June 21, 2010 Share Posted June 21, 2010 You have to edit the viewticket.tpl for the template you use. I had the same problem for unregistered users. after: </div> {/foreach} Add: <br> <tr> <td width="120" class="fieldarea"></td> <td>{if $loggedin}{else} <input type="text" name="replyname" size=30 value="{$replyname}" /> {/if}</td> </tr> <br> <tr> <td class="fieldarea"></td> <td>{if $loggedin}{else} <input type="text" name="replyemail" size=50 value="{$replyemail}" /> {/if}</td> </tr> <tr> It should resolve your issue. 0 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.