Notifications
Clear all
Topic starter
I want to limit the useryesno prompt to only display once during the course of an Update. I have it limited by user, but how can I further limit it by instances?
Posted : September 15, 2014 7:20 am
If you're making the call to useryesno() you can wrap it in a function and use a document variable to track how many times you've called it. Untested:
{! fn TellTheUserOnlyOnce(messageForUser) {
if (DOCUMENT.TOLDTHEUSER=="") then
if (useryesno(messageForUser)=="Yes") then
DoStuffHere()
endif
DOCUMENT.TOLDTHEUSER="y"
endif
} }
Posted : September 15, 2014 7:30 am