Sample Work Item Viewer File - EnterWorks_Process_Exchange_(EPX) - 10.6

EnterWorks EPX Process Modeling

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks > EnterWorks Process Exchange (EPX)
Version
10.6
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks EPX Process Modeling
First publish date
2007
Last updated
2023-07-28
Published on
2023-09-20T04:05:11.973084

Here is a modified copy of the TMWorkItemTemplate.html file. All changes occur between the <USER_WORKITEM_AREA> and </USER_WORKITEM_AREA> tags. The viewer produced by this file is shown after the file.

<html>

<TM_WORKITEMVIEWER_VERSION>2.0</TM_WORKITEMVIEWER_VERSION>

<head>

<title>TaskManager</title>

<TM_WORKITEMVIEWER_SCRIPT>

</TM_WORKITEMVIEWER_SCRIPT>

<USER_WORKITEMVIEWER_SCRIPT>

<script language="JavaScript">

<!--

// Intercept the return key event. If you need to process

// this event you should make sure the function kpress

// always returns a false value.

if (document.layers)

document.captureEvents(Event.KEYPRESS);

document.onkeypress=kpress;

function kpress(evt)

{

key=(document.layers)?evt.which:window.event.keyCode;

if(document.layers && key==13)

return false;

else if (key==13 &&

window.event.srcElement.type=="text")

return false;

}

function validateForm(action)

{

var passedValidation = true;

if (passedValidation == true)

return true;

else

return false;

}

//-->

</script>

</USER_WORKITEMVIEWER_SCRIPT>

</head>

<body>

<TM_WIV_HEADER>

<table cellspacing="0" cellpadding="0" border="0" width="100%">

<tr><td align="left" valign="top" bgcolor="#383B70">

<center><font size="5" color="#ffffff">

Work Item: <i>Work Item Name</i> | Priority: <i>Priority Name</i>

</font></center></td></tr></table>

</TM_WIV_HEADER>

<form name="WorkItemForm" action="oldAction"

method="oldMethod" >

<!-- user area -->

<USER_WORKITEM_AREA>

<!-- user area -->

<table border="1" width="100%">

<tr>

<td width="50%">Name: <input

name="biographicaldata_name"

value="Workitem One Form: Your Name Here"

size ="40"></input></td>

<td width="50%"></td>

</tr>

<tr>

<td width="50%">Age Group:<br></br>

<input name="biographicaldata_age" type="radio" value="young">

</input> &lt;

30<br></br>

<input name="biographicaldata_age" type="radio" value="middle">

</input>

30 to 64<br></br>

<input name="biographicaldata_age" type="radio" value="old">

</input> &gt;

65

</td>

<td width="50%">Salary Range:<br></br>

<input name="biographicaldata_salary"

type="radio" value="young"></ input> &lt;

30k <br></br>

<input name="biographicaldata_salary" type="radio" value="middle">

</ input> 30k to 64k<br></br>

<input name="biographicaldata_salary" type="radio" value="old">

</input> &gt; 65k

</td>

</tr>

</table>

<P> </P>

Employment Status:

<select name="biographicaldata_status">

<option value="None">None</option>

<option value="Employed">Employed</option>

<option value="Unemployed" selected="selected">Unemployed</option>

<option value="Retired">Retired</option>

</select>

<P>Personal Interest:<TEXTAREA name="personal_interest" style="HEIGHT: 100px; WIDTH: 423px">Sports: Base ball, basketball. Reading: Science fictions.

Movie: Comedy

</TEXTAREA></P>

<!-- user area -->

</USER_WORKITEM_AREA>

<!-- do not touch anything below this line -->

<TM_WIV_BUTTONS>

<hr align="left"/>

<center><table><tr>

<td><input type="submit" name="action" value="SEND"></input></td>

<td><input type="submit" name="action" value="SAVE"></input></td>

<td><input type="submit" name="action" value="CANCEL"></input></ td>

</tr></table></center>

</TM_WIV_BUTTONS>

</form>

</body>

</html>