New form button functionality in build 1161

Contains tips for configurators working with Aware IM
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

See also Steve's post that shows starting a process from a form using an <a> tag instead of a <button> tag:

http://www.awareim.com/forum/viewtopic.php?t=3114
Tom - V8.8 build 3137 - MySql / PostGres
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

One more addition from support:

You can also use a button to:
1) start a process
2) go to a specified tab

Example:

<button type="button" onclick="AwareApp.startProcessFromForm('ProcessName', 'main', this, true); AwareApp.m_mainTabPanel.setActiveTab (AwareApp.getTabPanelId ('myframe', 'mytab'));" >Refresh</button>

where:
myframe = frame name. This will usually be 'main'. Note that 'main' has to be lower case.

mytab = name of tab you want to position to

The tab will be switched straight away without waiting for the process to finish.

Very slick!
Tom - V8.8 build 3137 - MySql / PostGres
himanshu
Posts: 722
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

cool

Post by himanshu »

Hi Tom,

r u running AwareIM 4.1 (1184) ver or AwareIM 4.5 (1184)...please correct your footer..

8)
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
Post Reply