NetTalk Central

Author Topic: Adding option value without ""  (Read 2975 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Adding option value without ""
« on: July 26, 2014, 01:19:24 PM »
Hi Bruce

How do i add an option without the "".
I do this : p_web.SetOption(loc:options,'beforeShowDay','noWeekendsOrHolidays')
and get this : beforeShowDay:"noWeekendsOrHolidays"
but would like this : beforeShowDay: noWeekendsOrHolidays

Can you help?

Regards Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Adding option value without ""
« Reply #1 on: July 28, 2014, 12:41:30 AM »
hi Niels,

It's completely obvious! Add a leading ^ character. ie

p_web.SetOption(loc:options,'beforeShowDay','^noWeekendsOrHolidays')

Ok, that's not _completely_ obvious, but it was gonna be your 3rd guess right? :)

Cheers
Bruce

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Adding option value without ""
« Reply #2 on: July 28, 2014, 01:17:54 AM »
Of course. Now I blush. Stupid me ....;-)

But thanks anyway!