Keyword

'Zero' Value for custom field

More
11 years 10 months ago #107130 by ondi
'Zero' Value for custom field was created by ondi
I've done a search but can't find anything.

I am using K2 for football match reports.

However, when I try entering the score, and the number of goals is 0, K2 does not see 0 as a value, but sees it as null.

I have tried using "Textarea" and "Text field"

Is there any way I can have a value of 0?

Thanks

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #107131 by william white
Replied by william white on topic Re: 'Zero' Value for custom field
What version of J and K2 are you using.
In the latest version of K2 there is a text type extra field that you can enter a "0" into and it will display

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #107132 by Lefteris
Replied by Lefteris on topic Re: 'Zero' Value for custom field
@ondi

This issue has been fixed in K2 2.6.2. Update K2. After that ensure that the code that is printing the extra fields in your layouts is the same as the code provided in default K2 layouts.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #107133 by ondi
Replied by ondi on topic Re: 'Zero' Value for custom field
Cheers guys, I updated and everything now works!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum