Can the title of the accept function display data?

Discussions about CSEntry
Post Reply
Keith Tomlin
Posts: 56
Joined: March 23rd, 2014, 9:30 am

Can the title of the accept function display data?

Post by Keith Tomlin »

Hello - I'd like to use the accept function to ask the user to confirm that they are in a particular location. So for the example the user would used combo boxes to select "Village 1" for a village field and "Area 3" for an area field, and there would then be an accept function saying "Please confirm that you are in Village 1, Area 3". If No is clicked the user is taken back to the Village field. But I can't find a way of displaying the Village and Area values in the accept function title.

Many thanks

Keith
Gregory Martin
Posts: 1947
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Can the title of the accept function display data?

Post by Gregory Martin »

You might consider doing this using an errmsg. Something like this:
errmsg("Please confirm that you are in Village %d, Area %d",VILLAGE,AREA) select("Yes",continue,"No",VILLAGE);
Alternatively, you could create your customized accept title using the maketext function.
Keith Tomlin
Posts: 56
Joined: March 23rd, 2014, 9:30 am

Re: Can the title of the accept function display data?

Post by Keith Tomlin »

Thanks very much Greg, I'll give that a try.

All the best

Keith
Post Reply