What terms did you try when SEARCHING for a solution: Check box problem
Write your message below:
I want insert Agree Terms in the form of new ticket but if i put a custom field check box to accept condictions i'm unable to insert html text with link to the page of term and condictions. HTML not alowed
Check box problem
Moderator: mkoch227
Re: Check box problem
HTML is not allowed for security reasons.
What you can try is to manually add the HTML code into HESK "submit a ticket" form (index.php).
For example if your terms of service checkbox is custom field number 5:
Then add a check not to print the custom field 5 in index.php just ABOVE add
What you can try is to manually add the HTML code into HESK "submit a ticket" form (index.php).
For example if your terms of service checkbox is custom field number 5:
Code: Select all
<tr>
<td style="text-align:right" width="150" valign="top">Terms:</td>
<td width="80%"><label><input type="checkbox" name="custom5" value="Y" /> I agree to the <a href="">Terms of Service</a></label><br /></td>
</tr>
Code: Select all
if ($v['use'] && $v['place'])
Code: Select all
if ($k == 'custom5')
{
continue;
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 21
- Joined: Mon Mar 14, 2011 10:03 pm
Re: Check box problem
Code: Select all
<tr>
<td style="text-align:right" width="150" valign="top">Terms:</td>
<td width="80%"><label><input type="checkbox" name="custom5" value="Y" /> I agree to the <a href="">Terms of Service</a></label><br /></td>
</tr>
Re: Check box problem
In a HTML table in the print_add_form function. For example just before
Code: Select all
</table>
<?php
}
if ($hesk_settings['question_use'] || $hesk_settings['secimg_use'])
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools