I have been searching around for weeks but cannot locate the solution to my issue. I apologize if this topic has been posted before!
I have a custom appointment form that is the second tab of my appointment (the default appointment tab is still visible and the custom tab "Client Appointment" is in place of the P.2 tab)
I would like to add a CheckBox so that when checked, adds a specific meeting attendee. I also need the code for when you uncheck the box, the attendee is removed.
My check box is on the custom tab "Client Appointment", for now the properties are set to the following:
Name- set to "CheckBox1"
Capiton- set to "CheckBox1"
Value- New Field with the Name="CheckBox1", Type="Yes/No", Format="Icon", Property to use="Value"
I have the following code (which when I used it on a Message form worked perfectly!)
'Add Client Calendar to Recipients when Client Meeting box is checked
Set myPage = Item.GetInspector.ModifiedFormPages("Client Appointment")
Set CheckBox1 = myPage.Controls("CheckBox1")
If CheckBox1.Value = True Then
Item.Recipients.Add "TEST RECIPIENTS NAME"
For each recip in Item.Recipients
If recip.Name = "TEST RECIPIENTS NAME" then
Is this even possible on a custom appointment form?
Thank you in advance!