NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Johan van Zyl on April 13, 2011, 09:09:26 AM

Title: DropDown/ValidityCheck/Must be in List Errors
Post by: Johan van Zyl on April 13, 2011, 09:09:26 AM
NT 5.21 Clarion 9058

I get this seemingly intermittantly on various similar fields.

LOG:CommunicationMethod Must be one of Phone, SMS, Email, Other, NA

They all have Hide code similar to this:
p_web.GetSessionValue('LOG:TaskType')<>'RequestForStaff'

How do I resolve this?

Thx!
Title: Re: DropDown/ValidityCheck/Must be in List Errors
Post by: Bruce on April 13, 2011, 09:01:11 PM
Prime the field to a valid value on the priming tab.

Validation on the whole record (including all fields _not_ on the form, not included, or hidden) before the record is saved. Since in your dictionary you have specified that this field must contain one of these values, the best approach is to prime the field with a valid value.

cheers
Bruce