I need add functionality or vba script to my checkbox Follow

0
Avatar
Brandon Castillo

Hi everybody,

I have a form in Bartender Automation, my text fields are working correctly. My problem is than I need add a validation to my checkbox, next to a example:

if(myCheckbox.value) = true then

   'do my validation throug SQL

else

   'don't validation, only continue

end if

Somebody can help me? Thanks and regards.

 

1 comments

0
Avatar
Peter Thane

 

You need to link your check box to a field the field that display the result and make the label field a Visual Basic Script> Event Controlled Script >OnPostPrompt  field with the syntax something like the sample below, where the X is your validation routine and the Y is your continue routine.

If Value = "Check Box" then
Value = X
else value = Y
end if

I hope this makes sense

Pete

Please sign in to leave a comment.