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.

Auto Submit

Updated: 21 May 2010 | 5 comments
JR.Foster's picture
0 0 Votes
Login to vote

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?

discussion Filed Under:

Comments

stuper2's picture
03
Sep
2008
0 Votes 0
Login to vote

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.

ohzone's picture
03
Sep
2008
0 Votes 0
Login to vote

Broken in IE? using IE8?

Broken in IE? using IE8? got the package and the message...

Endpoint Management,
Endpoint Virtualization
Community Manager
www.twitter.com/EMnV_symc
Need Altiris help? IRC chat #Altiris

Bob Wooding's picture
03
Sep
2008
0 Votes 0
Login to vote

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

stuper2's picture
04
Sep
2008
0 Votes 0
Login to vote

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

stuper2's picture
04
Sep
2008
0 Votes 0
Login to vote

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.