Comparing Textbox Values Follow

0
Avatar
Legacy Poster

Hi,

 

I would like to add some scripting on my template ,I have two textboxes receiving values from user,I need to compare both field values are equal or not ,If equal,can do print or not

Also i do not want print second textbox value as ill be using second textbox for comparing only,

someone please help

1 comments

0
Avatar
Ian Cummings
Moderator
Comment actions Permalink

Create two named data sources, with only one being used in a label object, and then link them up to your data entry form controls.  Use the OnPostPrompt event to perform the value comparison.  If you need to cancel the print job, then call the CancelPrinting() function that is built into BarTender.

Please sign in to leave a comment.