Page 1 of 1

required

Posted: Thu Jan 27, 2011 3:46 am
by jecb2
Script URL: http://www.tujugueteadulto.com/helpdesk
Version of script: 2.0
Hosting company: hostgator
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Message text area is currently set as required field

Is there a way to change this and set not as required?

Re: required

Posted: Sat Jan 29, 2011 11:50 am
by Klemen
Open "submit_ticket.php" in notepad and change

Code: Select all

$tmpvar['message']  = hesk_input($_POST['message']) or $hesk_error_buffer[]=$hesklang['enter_message'];
to just

Code: Select all

$tmpvar['message']  = hesk_input($_POST['message']);

Re: required

Posted: Mon Jan 31, 2011 5:29 pm
by jecb2
Hello

Thanks it worked fine. Now, how can I remove the * next to the label?

:)

Re: required

Posted: Tue Feb 01, 2011 3:33 pm
by jecb2
Nevermind, I found it :)

index.php file

this:

Code: Select all

	<td style="text-align:right" width="150" valign="top"><?php echo $hesklang['message']; ?>: <font class="important">*</font></td>
to this:

Code: Select all

	<td style="text-align:right" width="150" valign="top"><?php echo $hesklang['message']; ?>: </td>
bye :)