Custom Behaviors and Events for Workflow Components and Forms
Updated: 21 May 2010 | 2 comments
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
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
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
Would you like to reply?
Login or Register to post your comment.