Page 1 of 1

Radio button option issue

Posted: Mon Oct 29, 2012 2:39 am
by Lurking
Script URL:
Version of script: Hesk 2.4.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: radio button

Write your message below:
Hi Klemen,
Referring to the "form" area on a ticket, is it possible to prevent "radio buttons" from being pre-selected? The "checkbox" works, but the customers often select more than one option (which causes more questions and does not answer them). The radio button is more applicable for my tickets as they can only select one at a time. Thank you, Larry

Re: Radio button option issue

Posted: Mon Oct 29, 2012 6:43 am
by Klemen
Hi,

Try deleting all instances of this code from the index.php file:

Code: Select all

strlen($k_value) == 0 || 

Re: Radio button option issue

Posted: Mon Oct 29, 2012 11:05 pm
by Lurking
Thanks! Works as advertised! :D

Re: Radio button option issue

Posted: Tue Jan 22, 2013 6:10 am
by wed
thank you for this tip
is it possible to predict the future version option in the configuration
thank you

wed

Re: Radio button option issue

Posted: Tue Jan 22, 2013 8:26 pm
by Klemen
Perhaps there will be a setting for this in 2.5, but for future I also plan to completely rewrite the code behind custom fields to allow more options and functionality.