Version of script: 2.5.2
Hosting company: canaca.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Here in this forum, found no hits if it has been mentioned before.
Write your message below:
I'd like to learn if this could be possible?
I have set up Hesk Desk to be a different type support page where in the initial submission there are other required fields they must fill out, where the default Subject and Message fields are not required.
So is there a way to disable that those two default fields are not marked as Required Fields when creating the ticket? But still be required when they reply to their tickets?
As a workaround,
I modified the code in index.php, but I wish this could be switched on/off in the Settings. Or if you could suggest a better workaround?
My version, though it works for me, is quite a dirty way to go about it.

**I'd like it for also be able to change the language of the message--in case it's a multilingual site.

OPEN: index.php
FIND:
Code: Select all
<!-- END CUSTOM BEFORE -->
<!-- ticket info -->
<table border="0" width="100%">
<tr>
<td style="text-align:right" width="150"><?php echo $hesklang['subject']; ?>: <font class="important">*</font></td>
<td width="80%"><input type="text" name="subject" size="40" maxlength="40" value="<?php if (isset($_SESSION['c_subject'])) {echo stripslashes(hesk_input($_SESSION['c_subject']));} ?>" <?php if (in_array('subject',$_SESSION['iserror'])) {echo ' class="isError" ';} ?> /></td>
</tr>
<tr>
<td style="text-align:right" width="150" valign="top"><?php echo $hesklang['message']; ?>: <font class="important">*</font></td>
<td width="80%"><textarea name="message" rows="12" cols="60" <?php if (in_array('message',$_SESSION['iserror'])) {echo ' class="isError" ';} ?> ><?php if (isset($_SESSION['c_message'])) {echo stripslashes(hesk_input($_SESSION['c_message']));} ?></textarea>
Code: Select all
<!-- END CUSTOM BEFORE -->
<!-- ticket info -->
<table border="0" width="100%">
<tr>
<td style="text-align:right" width="150"><?php echo $hesklang['subject']; ?>: <font class="important">*</font></td>
<td width="80%"><input type="text" name="subject" size="40" maxlength="40" value="Subscription/Suscripción<?php if (isset($_SESSION['c_subject'])) {echo stripslashes(hesk_input($_SESSION['c_subject']));} ?>" <?php if (in_array('subject',$_SESSION['iserror'])) {echo ' class="isError" ';} ?> /></td>
</tr>
<tr>
<td style="text-align:right" width="150" valign="top"><?php echo $hesklang['message']; ?>: <font class="important">*</font></td>
<td width="80%"><textarea name="message" rows="12" cols="60" <?php if (in_array('message',$_SESSION['iserror'])) {echo ' class="isError" ';} ?> >How did you find us? / ¿Cómo se enteró de nosotros?<?php if (isset($_SESSION['c_message'])) {echo stripslashes(hesk_input($_SESSION['c_message']));} ?></textarea>