0 is not a valid response in custom fields

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Tech NO Babble
Posts: 9
Joined: Thu Jul 15, 2010 8:39 pm

0 is not a valid response in custom fields

Post by Tech NO Babble »

Script URL:http://www.snowbirdbaseball.com/registration-center/
Version of script:2.2
Hosting company:Tech NO Babble
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:0 is not a valid response in custom fields

Write your message below:
Love the program and thanks for your earlier help with submitting a ticket without using subject and message.

I created custom fields and made them mandatory and one such field requires a number, but if zero is the answer and you put in 0, when you submit you are told that 0 is not a valid response.

At this time, I have not made the custom field mandatory, so that tickets can be submitted.

Thanks in advance for any help on this.
Tech NO Babble is your source for all your web marketing needs.
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

In file inc/common.inc.php try changing

Code: Select all

elseif ($error)
to

Code: Select all

elseif ($error && $in != 0)
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
Tech NO Babble
Posts: 9
Joined: Thu Jul 15, 2010 8:39 pm

Post by Tech NO Babble »

Thanks I will make that mod.

If you have time, you can check out how it looks on my client's site,
http://www.snowbirdbaseball.com/2010-20 ... .php?a=add
and
http://www.snowbirdbaseball.com/2010-20 ... .php?a=add

I was able to get the php weather script and all my javascripts to work! I did have to change the doctype to match, but I think it looks great!

Thanks so much for such a great script!
Tech NO Babble is your source for all your web marketing needs.
Post Reply