NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on July 26, 2014, 01:19:24 PM

Title: Adding option value without ""
Post by: Niels Larsen 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
Title: Re: Adding option value without ""
Post by: Bruce 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
Title: Re: Adding option value without ""
Post by: Niels Larsen on July 28, 2014, 01:17:54 AM
Of course. Now I blush. Stupid me ....;-)

But thanks anyway!