Highlight Element by CheckBox State

{{7/16/2015 Workflow 7.6 update — review this update for new info on this post.}}

In response to a post on Symantec Connect, I built a quick Workflow demo project to show how to use CSS and Javascript to highlight a required section panel when a CheckBox is checked.


Continue reading

Input Range Sliders

I had a need for a “Duration” field, and liked the idea of (instead of using a masked textbox or two dates (start and end)) using range sliders to increment the duration parts of the value.


Continue reading

Workflow Short – pageLoad() and Dynamic Update Panels

A quick note on using DynamicUpdatePanels and body onload events.  The update panels, when updated, do not trigger the body’s onload event.  To get past this, we can use the form’s “Script” section and use the native function pageLoad() to run the actions we want to have happen.

Continue reading

Workflow Short – Dynamically Size a Workflow Webform

Treat this entry as a proof-of-concept, as I just discovered it today, and haven’t thoroughly tested the potential or outcomes of this method.

Using javascript, we’re able to dynamically resize a form to provide more real-estate when required.


Continue reading

Workflow Short – oninput Event

As I don’t have a lot of experience with Javascript outside of Workflow, I was, prior to yesterday, unfamiliar with the “oninput” function.  As it turns out, it’s a bit better for most of the value validations than what I was using previously (onchange).  Here’s a quick rundown on how to make use of this feature.


Much like the method for adding the “placeholder” attribute, and similar to the onchange event, we’re going to need to use javascript to add the “oninput” event attribute to an element on body onload.

Continue reading

Workflow Form Element Transition and Animation Effects with CSS

Here’s a short post on how to achieve transition effects with CSS in your Workflow forms.  First, a couple of examples:

Symantec Workflow CSS Transtitions on Forms
This transition effect is based on the two states of the element having different opacities as well as height, width, and visibility.


Symantec Workflow CSS Transtitions on Forms
256-color .gif files don’t really help illustrate subtle color changes.

Continue reading

Sending a Javascript Event from an Iframe to its Parent

In this use case, I have a form with an embedded Iframe.  In the Iframe, I have a small webform that is continuously recycling to update the status of a patch staging/download task.

Symantec Workflow Patch Management Staging Status
The small panel cap at the bottom of the right column is an iframe component. The contents are a simple web form project that automatically recycles every few seconds in order to query the staging status.

Continue reading

Workflow Basics – Form Validation

So you’ve built a form, and you want to validate the user’s input?  I decided a long time ago that I’m not satisfied with Workflow’s use of the standard window.alert dialog:

Symantec Workflow Simple Validation Popup
The standard javascript window.alert method.

In this article, I’m going to go over the methods I use for Workflow popup boxes, and in particular, validation error messages.  An example of a validation error message box:

Symantec Workflow - Replace the Alert
“You have an appealing coiffure.” -Seven of Nine

Continue reading

Loading Page

While the Workflow Form Builder component has options for “processing” messages, I needed more flexibility with dynamic data.  The standard “Processing Message” field at the form level is a static text box:

Symantec Workflow Form Builder Processing Configuration
The standard Processing configuration for a form builder component.


The individual fields available on the form buttons are static fields as well.

So with a little extra effort, we can use a few components on another intermediary form to show our loading message exactly how we want.

Continue reading

Concepts Primer – Using Javascript in Workflow Forms

The first exposure I had to implementing javascript actions in Workflow processes was when claus66 posted a solution in this post on Symantec Connect.  The question that was posed was, how is the “Enter” keystroke captured and used to automatically click a specific button?  The answer in that post:

if (event.keyCode == 13){
event.cancel = true;

At the time, I had no idea how it worked, just that it did.  Afterwards, I looked for opportunities to test other ways I could use javascript to enhance the user experience for my forms.

Continue reading