Auto Submit
Hello Eveyone..
I'm sort of new to workflow. I'm trying to get a form to AutoSubmit on a selection from a dropdown component. Does anyone know how to do this? Is it a custom event that needs to be set?
Filed under: Workflow Solution, Endpoint Management and Virtualization
Javascript Evil
Hi JR.Foster,
To do this you need to add a key/value custom behavior to the drop down that you want to have click the button.
You also need to open the button that you want to have programmatically clicked. In the properties you'll want to click "Specify Control ID" and give the button a human readable id.
Then you can use (java script gurus will spit fire from their eyes when they read this):
document.getElementById('newbuttonid').click();
I also have a package file for you of a web forms project that does this so you can see it. I just can't figure out how to load that project into the juice because the juice is broken in IE.
Broken in IE? using IE8?
Broken in IE? using IE8? got the package and the message...
Endpoint Management & Virtualization
Community Manager
www.twitter.com/EMnV_symc
How to populate data on current Form with results of drop down
JR, Make sure you have "post form on Value change" selected on your drop down list component in your current form..
Then if you want to present that data on the same form use the "AsciiMergeLabelComponent" and specifiy the expected variable in the advanced text creator..Use the variable under "ThisFormData"
Principal Consultant
Bob Wooding
Principal Consultant
Bob Wooding
IE7 - :)
I couldn't reply to JR.Foster in IE7. all the controls were missing. I loaded the page up in google chrome and voila. :D
Bob is right if you're trying to reload the same form and show
Bob is right if you're trying to reload the same form and show dynamic information. Post form on value change is a really useful feature that allows you to use ajax controls to do some interesting things with forms.
Post form on value change, however; won't help you submit the form. In Web Forms projects you have to click the button and that requires the evil java script.
Would you like to reply?
Login or Register to post your comment.