Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Subform Validation

Avatar

Level 4

My form has a button with the script below in the click event. The button is on the page 1 master page and the Ticker5 is a text field in a repeatable subform. My problem is when I use the relative vs the absolute for the Ticker5 text field I get and unknown error message and when I use the absolute as shown below it only works on the first subform. HELP please.

if (Pg1.Table1.Trade.TrdInfo.TC.Ticker5 == "x")then

xfa.host.messageBox("Exchanged Traded Fund (ETF) trade requests must be communicated with your broker and should not be included on this form.")

else

PrintButton1.execEvent("click")

endif

0 Replies