I have a layout (user) with a portal to a join table. On the layout is a button that runs some script. I need to make sure that the user has made an entry into the portal before allowing the script to run. If they click the button without an entry, show a dialog reminding them it is required.
I tried an isempty script looking at the join table, but it does not work if the user has not attempted an entry. (ie no entry at all - or entry is made and then deleted.)
I assume that another way would be to search the join table to see if the ID from the new record on the user layout is there, but I can't find an example to lead me down that path.
Thanks in advance for any help.