required

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
jecb2
Posts: 3
Joined: Thu Jan 27, 2011 3:43 am

required

Post 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?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: required

Post 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']);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
jecb2
Posts: 3
Joined: Thu Jan 27, 2011 3:43 am

Re: required

Post by jecb2 »

Hello

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

:)
jecb2
Posts: 3
Joined: Thu Jan 27, 2011 3:43 am

Re: required

Post 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 :)
Post Reply