function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jqcoffeyjqcoffey 

Perl setting checkbox value to false

Has anyone had any luck setting a checkbox value to "false", either with WWW::Salesforce or any other method?  I'm tearing my hair out over this.  I've had zero luck.

Using $elem->{fieldToNull} = 'HasOptedOutofEmail' fails with ERROR: Unsubscribed: value not of required type: null

Setting $elem->{HasOptedOutofEmail} = 0 or "False" or "" or undef or !1 all fails to update the field silently.

Any insight would be greatly appreciated.

Thanks,
Justin
jprosserjprosser
Hey Folks,
Did anyone ever get a resolution for this?

It's been a year!

Cheers,
-Joe