Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Custom Behaviors and Events for Workflow Components and Forms

Updated: 21 May 2010 | 2 comments
Andy Tous's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Here's my current challenge:

I have a grid where I can select one item and then I have to click a button to go to a specific path (or to submit my selection).  Both the grid and the submit button are within the same form. 

Is there a way to just double click on my selection and not having to go and click on a button?

I understant that this is what the Control ID and the Custom Behaviors are for and also understant Custom Behaviors use jscript. 

Can anyone provide an example on how to achieve something like this?

Thanks,
Andy

discussion Filed Under:

Comments

Rob Moore's picture
23
Sep
2009
2 Votes +2
Login to vote

Papi!Of course I have an

Papi!

Of course I have an example for you!

Give the submit button a name by Edit Component -> Tab: Functionality -> Check Specify Control Id -> Type Name eg. 'btnEnter'

In theGrid component Edit Component -> Tab: Functionality -> Custom Events:

Click Add -> AttributesKeyValuePair
Event: ondblclick
Event Handler:{event.returnValue=false;event.cancel = true;btnEnter.click();}

When a user double-clicks the entry, it should trigger the submit button press.

Give me  shout if you problems, we can screen share and I'll show you how I have it configured.

Rob Moore
rob.moore@travelport.com

Andy Tous's picture
23
Sep
2009
0 Votes 0
Login to vote

As always Rob, you understand

As always Rob, you understand exactly what I'm asking for and come up with the right solution!..

I really appreciate your constant help!

Thanks again,

Andy