NetTalk Central

Author Topic: DropDown/ValidityCheck/Must be in List Errors  (Read 2900 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
DropDown/ValidityCheck/Must be in List Errors
« 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!
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: DropDown/ValidityCheck/Must be in List Errors
« Reply #1 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