Solved

javascript - making html form fields required

Posted on 2010-11-10
86
756 Views
Last Modified: 2012-05-10
this is the beginning of my form:

<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="func" VALUE="[LL_FUNC /]">
<INPUT TYPE="HIDDEN" NAME="LL_FUNC_VALUES" VALUE="[LL_FUNC_VALUES /]">
<INPUT TYPE="HIDDEN" NAME="LL_AttrFieldName" VALUE="">
<INPUT TYPE="HIDDEN" NAME="LL_AttrFieldIndex" VALUE="">
<INPUT TYPE="HIDDEN" NAME="LL_WFATTURL" VALUE="[LL_WFATTURL /]">


this is my button to submit the form:

<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Apply" NAME="IgnoreMe" ONCLICK="doFormSubmit( document.myForm );">


this is a selection box that i need to require:
[i]options APPROVE or REJECT must be selected, alert user if not selected[/i]

<SELECT CLASS="selectMenu" ID="_1_1_68_1" NAME="_1_1_68_1" ONCHANGE="setDate(this.value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>


this is a text box that i need to require:
[i]if the value of this text box is null, then alert user[/i]

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_8_1_Name" ID="_1_1_8_1_Name" VALUE="" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_8_1( this, this.form._1_1_8_1_SavedName.value )">



so i have a text box and a selection box that i must validate onSubmit of my form.  this form was exported from an application so i'm stuck with the fields listed above.  i'm not too savvy with javascript - please help me require these fields!

thanks!!!
0
Comment
Question by:sknoll84
  • 42
  • 39
  • 4
  • +1
86 Comments
 
LVL 10

Expert Comment

by:Tyler Laczko
Comment Utility
you need to add to your <form> tag
onSubmit='return checkForm()'

then write the js code for checkForm()

EG

<script type="text/javascript">
function checkForm()
{
  if(document.myForm._1_1_68_1.value == "")
{
return false;
}
return true;
}
</script>
0
 
LVL 10

Expert Comment

by:Tyler Laczko
Comment Utility
with the <select> tag you may need to do document.myForm._1_1_68_1.selected.value or something simular. But i think you get the idea.
0
 
LVL 9

Expert Comment

by:wellhole
Comment Utility
You really should check for valid values on the server side in addition to this client side check. Otherwise you may end up with sql injection and other kinds of hacks.
0
 

Author Comment

by:sknoll84
Comment Utility
i'm not worried about security - this is in a very controlled environment.

can i safely add onSubmit='return checkForm()' since my button already has:
ONCLICK="doFormSubmit( document.myForm );


i have to maintain the existing code listed above PLUS bring in this required fields function
0
 
LVL 10

Expert Comment

by:Tyler Laczko
Comment Utility
yes you can.
0
 
LVL 10

Expert Comment

by:Tyler Laczko
Comment Utility
actually depending on what is in your doFormSubmit code... you may have to move code around.
0
 

Author Comment

by:sknoll84
Comment Utility
okay, i think i found the doFormSubmit part of this site:
      
      // This function is used by forms to submit
      //
      //      theForm            the form object on the html page
      //

      function doFormSubmit ( theForm )
      {
            var            tempObj;
            
            
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                  
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
            
            theForm.submit();
      }


does it look like i can bring this required fields thing into my code?  sorry i know nothing about javascript - and i know you want me to learn but for what i'm working on i just don't have time to begin educating myself.  i'm just looking for a quick solution.

thanks.
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
What do you want to happen?  There are many options?

Here are some option:
do you want to disable the button until required fields are filled out?  

Do you want a basic error to pop up if they click the button and all required fields aren't filled out?

Do you want a specific error saying which required field was not filled out when they click the button?
0
 

Author Comment

by:sknoll84
Comment Utility
@ccsoflag, thanks for joining this question!  this is the last requirement of my project and i planned on implementing today - you came in at the right moment.

i have one selection box that i must require before onSubmit.  this selection box contains two options, Approve and Reject.  i need to make sure ONE of the options is selected (make required)

this is my drop down:
<SELECT CLASS="selectMenu" ID="_1_1_100_1" NAME="_1_1_100_1" ONCHANGE="setDate(this.options[this.selectedIndex].value); IsReject(this.options[this.selectedIndex].value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>

this is my submit button:
<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="doFormSubmit( document.myForm );">

ideas?  thanks!
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
Yea, no problem.  

I need to know what you want to happen, please reply to the above post and choose an option.  The code is different depending on HOW you want to make the field required.  Know what I mean?  Personally, I like to mark fields as required and then disable the submit button until they fill in required fields, but a lot of people like an alert that pops up when they click the submit button.  Just depends on what you want. :)
0
 

Author Comment

by:sknoll84
Comment Utility
sorry,

id like a message alerting the user
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
function  CheckRequired()
{
   var myTextBox =    document.getElementById('_1_1_100_1').selectedIndex;

      if (myTextBox.value)
    {
       return true;
     }
   else
     {
        alert('Dropdown is a required field');
         return false;
    }
}

in your form tag add this:

<form id="myID" onsubmit="CheckRequired()">
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
hold up I think I got the value code wrong.  drop downs are dumb...  just a sec.
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
  var myTextBox =    document.getElementById('_1_1_100_1');

      if (myTextBox.options[myTextBox.selectedIndex].value)

That should work
0
 

Author Comment

by:sknoll84
Comment Utility
not working, think its because of my button?

<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="doFormSubmit( document.myForm );CheckRequired();">
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
don't put in on your button onclick.  Just put it on your form tag onsubmit attribute as per above.  What is the doFormSubmit functions doing?
0
 

Author Comment

by:sknoll84
Comment Utility
doFormSubmit:

      function doFormSubmit ( theForm )
      {
            var            tempObj;
            
            
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                  
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
            
            theForm.submit();
      }

and i really dont have the option to include this function within doFormSubmit

so i'm still having a problem, this is what i've done:
<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST" onsubmit="CheckRequired()">

but that doesnt work

my submit button looks like this now:
<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="doFormSubmit( document.myForm );">
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
So that function is disabling the button before submitting?  I don't get it, why?

Why don't you just use a submit button?
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
Make sure your function looks like this (I made another change but it does the same thing):

      function  CheckRequired()
      {
            var myTextBox = document.getElementById('_1_1_100_1');

        if (myTextBox.value)            
        {
               return true;
             }
            else
             {
                  alert('Dropdown is a required field');
                   return false;
            }
      }
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
oh, shoot, I'm sorry, I forgot the return command.  your onsubmit should be like this:

onsubmit="return CheckRequired();"  

Otherwise it'll submit the form after the alert pops up.  So ar eyou even getting an alert?  What's not working?
0
 

Author Comment

by:sknoll84
Comment Utility
<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST" onsubmit="return CheckRequired();">

i'm not getting a popup at all
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
really?  That's odd.  Do this and let me know if that alert pops up:

     function  CheckRequired()
      {
            var myTextBox = document.getElementById('_1_1_100_1');
        alert('HELLO');
        if (myTextBox.value)            
        {
               return true;
             }
            else
             {
                  alert('Dropdown is a required field');
                   return false;
            }
      }
0
 

Author Comment

by:sknoll84
Comment Utility
hmm that doesnt work either
0
 

Author Comment

by:sknoll84
Comment Utility
wait
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
How about this?

     function  CheckRequired()
      {
       alert('HELLO');
        var myTextBox = document.getElementById('_1_1_100_1');
        if (myTextBox.value)            
        {
               return true;
             }
            else
             {
                  alert('Dropdown is a required field');
                   return false;
            }
      }
0
 

Author Comment

by:sknoll84
Comment Utility
yeah, this is not working

(i changed selection boxes, i'm now using this one:
<SELECT CLASS="selectMenu" ID="_1_1_68_1" NAME="_1_1_68_1" ONCHANGE="setDate(this.options[this.selectedIndex].value); IsReject(this.options[this.selectedIndex].value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>


shouldnt matter, only the ID changed
<script type="text/javascript" language="javascript">
function  CheckRequired()
      {
            var myTextBox = document.getElementById('_1_1_68_1');
        alert('HELLO');
        if (myTextBox.value)            
        {
               return true;
             }
            else
             {
                  alert('Dropdown is a required field');
                   return false;
            }
      }
</script>

Open in new window

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
try moving the alert box to the top of the function a sI posted above.  Does that work?
0
 

Author Comment

by:sknoll84
Comment Utility
your last one also did not work
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
reeeeeally?  It means it's not firing then.  Um, can you post your entire page of code(HTML and javascript) please?
0
 

Author Comment

by:sknoll84
Comment Utility

<HTML>

<HEAD>



<STYLE>

 .browseRow1 { background-color: #FFFFFF;  } 

 .browseRow2 { background-color: #EEEEEE;  } 

.style1 {

	font-family: Arial, Helvetica, sans-serif;

	font-weight: bold;

	font-size: 17px;

}

.style2 {

	font-family: Arial, Helvetica, sans-serif;

	font-weight: bold;

	font-size: 12px;

}

.style3 {font-size: 9px}

</STYLE>

<TITLE>INITIATOR - PAF Routing</TITLE>

</HEAD>

<SCRIPT LANGUAGE="JavaScript1.2" SRC="[LL_SUPPORTPATH /]core/otajaxsupport.js"></SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" SRC="[LL_SUPPORTPATH /]webform/formssupport.js"></SCRIPT>

<script type="text/javascript">

if (!vValue)

   vValue = 0;

           function ShowTable(vTable,vValue)

       {

           if (!vValue)

                  vValue = 0;

              vValue = parseInt(vValue);

               var mySelect = document.getElementById(vTable);

           var maxCount = mySelect.getElementsByTagName("option").length - 1;

           if (vValue > 0)

           {

               for(i=vValue; i>0; i--)

               {

                   document.getElementById(vTable+i+'Table').style.display = 'block';

               }

               

               for(j=vValue+1; j<maxCount+1; j++)

               {

                   document.getElementById(vTable+j+'Table').style.display = 'none';

               }

           }

           else

           {

               for(k=vValue+1; k<maxCount+1; k++)

               {

                   document.getElementById(vTable+k+'Table').style.display = 'none';

               }

           }

       } 

</script>



<script type="text/javascript" language="javascript">

function  CheckRequired()

      {

       alert('HELLO');

        var myTextBox = document.getElementById('_1_1_68_1');

        if (myTextBox.value)            

        {

               return true;

             }

            else

             {

                  alert('Dropdown is a required field');

                   return false;

            }

      }

</script>



<script type="text/javascript" language="javascript">

     function setDate(ddlVal) {

       if (ddlVal == 'Approve' || IsReject( ddlVal ) ) {

//	   if (ddlVal == 'Approve') {

             var Today = new Date();

           var date =   Today.getDate();

           var month = Today.getMonth() + 1;

             var year = Today.getFullYear();



           var   full_date = month + "/" + date + "/" + year;



             document.getElementById('_1_1_102_1').value = full_date;

         }

       else {

           document.getElementById('_1_1_102_1').value   = '';

       }

 }

function IsReject(myValue)

{  

    if (myValue == "Reject")

        {

            document.getElementById('ProjectManagerComments').style.display    = 'inline-block';

            return true;

      }

    else

     {

             document.getElementById('ProjectManagerComments').style.display    = 'none';

            return false;

     }

  }

</script>



<BODY Class="pageBody">

<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST" onsubmit="return CheckRequired();">

<INPUT TYPE="HIDDEN" NAME="func" VALUE="[LL_FUNC /]">

<INPUT TYPE="HIDDEN" NAME="LL_FUNC_VALUES" VALUE="[LL_FUNC_VALUES /]">

<INPUT TYPE="HIDDEN" NAME="LL_AttrFieldName" VALUE="">

<INPUT TYPE="HIDDEN" NAME="LL_AttrFieldIndex" VALUE="">

<INPUT TYPE="HIDDEN" NAME="LL_WFATTURL" VALUE="[LL_WFATTURL /]">

<table width="700" border="0" cellspacing="20" cellpadding="10">

  <tr>

    <td width="200">&nbsp;</td>

    <td width="266" valign="bottom"><div align="center" class="style1">INITIATOR -  PAF Routing</div></td>

    <td width="233"><div align="right"><img src="/img/company_logo_small.png" width="140" height="46"></div></td>

  </tr>

</table>



<table width="700" border="0" cellspacing="5" cellpadding="1">

  <tr>

    <td class="style2">Project Name:      <br></td>

    <td class="style2"><input class="valueEditable" type="text" name="_1_1_75_1" title="Project Name" id="_1_1_75_1" value="[LL_FormTag_1_1_75_1 /]" size="32" maxlength="32" onChange="markDirty();"></td>

    <td class="style2"><div align="right">PAF Number:

      <br>

    </div></td>

    <td class="style2">

      <div align="left">

        <input class="valueEditable" type="text" name="_1_1_3_1" title="PAF Number" id="_1_1_3_1" value="[LL_FormTag_1_1_3_1 /]" size="32" maxlength="32" onChange="markDirty();">

        </div></td>

  </tr>

  <tr>

    <td class="style2">PAF Type:      <br></td>

    <td class="style2"><select class="selectMenu" id="_1_1_4_1" name="_1_1_4_1" onChange="markDirty();">

      <option value="" >&lt;None&gt;</option>

      <option value="Capital" >Capital</option>

      <option value="Expense" >Expense</option>

      <option value="Fixed Assets" >Fixed Assets</option>

      <option value="G&amp;G / Seismic" >G&amp;G / Seismic</option>

      <option value="Global Exploration" >Global Exploration</option>

      <option value="IT / Software" >IT / Software</option>

      <option value="Land" >Land</option>

      <option value="Long Lead Items" >Long Lead Items</option>

      <option value="Plug &amp; Abandonment" >Plug &amp; Abandonment</option>

    </select></td>

    <td class="style2"><div align="right">Net Dollar Amount:

      <br>

    </div></td>

    <td class="style2">

      <div align="left">

        <INPUT CLASS="valueEditable" TYPE="text" NAME="_1_1_103_1" TITLE="NET Dollar Amount" ID="_1_1_103_1" VALUE="[LL_FormTag_1_1_103_1 /]" SIZE="32" MAXLENGTH="32" ONCHANGE="markDirty();">

        </div></td>

  </tr>

</table>

<table width="700" border="0" cellspacing="5" cellpadding="1">

  <tr>

    <td valign="top" class="style2"><p>Project Description:<br><TEXTAREA CLASS="valueEditable" ID="_1_1_7_1" NAME="_1_1_7_1" TITLE="Project Description" WRAP="soft" ROWS="3" COLS="80" ONFOCUS="" ONCHANGE="markDirty();">[LL_FormTag_1_1_7_1 /]</TEXTAREA>

        <br><input class="applyButton" type="BUTTON" value="Display PAF Package" name="DisplayAttachments" onClick="window.open('[LL_WFATTURL /]', 'DisplayAttachments','height=600,width=800,scrollbars=yes,resizable=yes,menubar=no');"></td>

  </tr>

</table>

<br>

<table width="350" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <th width="200"><div align="left" class="style2">Reviewers Required:</div></th>

    <td width="150"><SELECT CLASS="selectMenu" ID="Reviewer" NAME="_1_1_78_1" ONCHANGE="ShowTable('Reviewer', this.options[this.selectedIndex].value);">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="1" >1</OPTION>

<OPTION VALUE="2" >2</OPTION>

<OPTION VALUE="3" >3</OPTION>

<OPTION VALUE="4" >4</OPTION>

<OPTION VALUE="5" >5</OPTION>

</SELECT></td>

  </tr>

  <tr>

    <th><div align="left" class="style2">Managers Required:</div></th>

    <td><SELECT CLASS="selectMenu" ID="Manager" NAME="_1_1_76_1" ONCHANGE="ShowTable('Manager', this.options[this.selectedIndex].value);">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="1" >1</OPTION>

<OPTION VALUE="2" >2</OPTION>

</SELECT></td>

  </tr>

  <tr>

    <th><div align="left" class="style2">Technical Assurance Required:</div></th>

    <td><SELECT CLASS="selectMenu" ID="Technical" NAME="_1_1_77_1" ONCHANGE="ShowTable('Technical', this.options[this.selectedIndex].value);">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="1" >1</OPTION>

</SELECT></td>

  </tr>

  <tr>

    <th><div align="left" class="style2">Executives Required:</div></th>

    <td><SELECT CLASS="selectMenu" ID="Executive" NAME="_1_1_79_1" ONCHANGE="ShowTable('Executive', this.options[this.selectedIndex].value);">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="1" >1</OPTION>

<OPTION VALUE="2" >2</OPTION>

<OPTION VALUE="3" >3</OPTION>

<OPTION VALUE="4" >4</OPTION>

</SELECT></td>

  </tr>

  <tr>

    <th><div align="left" class="style2">CEO or Board Required:</div></th>

    <td><SELECT CLASS="selectMenu" ID="CEOBoard" NAME="_1_1_80_1" ONCHANGE="ShowTable('CEOBoard', this.options[this.selectedIndex].value);">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="1" >1</OPTION>

</SELECT></td>

  </tr>

</table>

<br>

<table width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" bgcolor="#EAEAEA" class="style2"><div align="left">Role</div></td>

    <td width="300" bgcolor="#EAEAEA" class="style2"><div align="left">Person</div></td>

    <td width="100" bgcolor="#EAEAEA" class="style2"><div align="left">Approval</div></td>

    <td width="130" bgcolor="#EAEAEA" class="style2"><div align="left">Date <span class="style3">mm/dd/yyyy</span></div></td>

  </tr>

</table>

<table width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left">Project Manager</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_8_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_8_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_8_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_8_1_ID" VALUE="[LL_FormTag_1_1_8_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_8_1_SavedName" VALUE="[LL_FormTag_1_1_8_1_SavedName /]">

<LABEL FOR="_1_1_8_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_8_1_Name" ID="_1_1_8_1_Name" VALUE="[LL_FormTag_1_1_8_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_8_1( this, this.form._1_1_8_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_8_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div></td>

    <td width="100" class="style2"><div align="left"><SELECT CLASS="selectMenu" ID="_1_1_68_1" NAME="_1_1_68_1" ONCHANGE="setDate(this.options[this.selectedIndex].value); IsReject(this.options[this.selectedIndex].value);">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT></div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" NAME="_1_1_102_1" TITLE="Project Manager Date" ID="_1_1_102_1" VALUE="[LL_FormTag_1_1_102_1 /]" SIZE="11" onfocus='this.blur();' MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>



<table id="ProjectManagerComments"  style="display:none;" width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="345" valign="middle"><div align="right" class="style2">

      <div align="right">Reason for Rejection:</div>

    </div></td>

    <td width="348" valign="top"><div align="right">

<TEXTAREA CLASS="valueEditable" ID="_1_1_69_1" NAME="_1_1_69_1" TITLE="Project Manager Comments" WRAP="soft" ROWS="4" COLS="50" ONFOCUS="" ONCHANGE="markDirty();">[LL_FormTag_1_1_69_1 /]</TEXTAREA>

    </div></td>

  </tr>

</table>



<table id="Reviewer1Table"  style="display:none;" width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Reviewer</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_22_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_22_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_22_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_22_1_ID" VALUE="[LL_FormTag_1_1_22_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_22_1_SavedName" VALUE="[LL_FormTag_1_1_22_1_SavedName /]">

<LABEL FOR="_1_1_22_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_22_1_Name" ID="_1_1_22_1_Name" VALUE="[LL_FormTag_1_1_22_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_22_1( this, this.form._1_1_22_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_22_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_97_1" NAME="_1_1_97_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_87_1" TITLE="Reviewer 1 Date" ID="_1_1_87_1" VALUE="[LL_FormTag_1_1_87_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Reviewer2Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Reviewer</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_25_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_25_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_25_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_25_1_ID" VALUE="[LL_FormTag_1_1_25_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_25_1_SavedName" VALUE="[LL_FormTag_1_1_25_1_SavedName /]">

<LABEL FOR="_1_1_25_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_25_1_Name" ID="_1_1_25_1_Name" VALUE="[LL_FormTag_1_1_25_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_25_1( this, this.form._1_1_25_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_25_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_98_1" NAME="_1_1_98_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_88_1" TITLE="Reviewer 2 Date" ID="_1_1_88_1" VALUE="[LL_FormTag_1_1_88_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Reviewer3Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Reviewer</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_28_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_28_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_28_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_28_1_ID" VALUE="[LL_FormTag_1_1_28_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_28_1_SavedName" VALUE="[LL_FormTag_1_1_28_1_SavedName /]">

<LABEL FOR="_1_1_28_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_28_1_Name" ID="_1_1_28_1_Name" VALUE="[LL_FormTag_1_1_28_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_28_1( this, this.form._1_1_28_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_28_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_99_1" NAME="_1_1_99_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_89_1" TITLE="Reviewer 3 Date" ID="_1_1_89_1" VALUE="[LL_FormTag_1_1_89_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Reviewer4Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Reviewer</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_31_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_31_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_31_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_31_1_ID" VALUE="[LL_FormTag_1_1_31_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_31_1_SavedName" VALUE="[LL_FormTag_1_1_31_1_SavedName /]">

<LABEL FOR="_1_1_31_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_31_1_Name" ID="_1_1_31_1_Name" VALUE="[LL_FormTag_1_1_31_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_31_1( this, this.form._1_1_31_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_31_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_100_1" NAME="_1_1_100_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_90_1" TITLE="Reviewer 4 Date" ID="_1_1_90_1" VALUE="[LL_FormTag_1_1_90_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Reviewer5Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Reviewer</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_34_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_34_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_34_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_34_1_ID" VALUE="[LL_FormTag_1_1_34_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_34_1_SavedName" VALUE="[LL_FormTag_1_1_34_1_SavedName /]">

<LABEL FOR="_1_1_34_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_34_1_Name" ID="_1_1_34_1_Name" VALUE="[LL_FormTag_1_1_34_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_34_1( this, this.form._1_1_34_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_34_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_101_1" NAME="_1_1_101_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_91_1" TITLE="Reviewer 5 Date" ID="_1_1_91_1" VALUE="[LL_FormTag_1_1_91_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Manager1Table" style="display:none;" width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Manager</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_12_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_12_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_12_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_12_1_ID" VALUE="[LL_FormTag_1_1_12_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_12_1_SavedName" VALUE="[LL_FormTag_1_1_12_1_SavedName /]">

<LABEL FOR="_1_1_12_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_12_1_Name" ID="_1_1_12_1_Name" VALUE="[LL_FormTag_1_1_12_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_12_1( this, this.form._1_1_12_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_12_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_14_1" NAME="_1_1_14_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_84_1" TITLE="Manager 1 Date" ID="_1_1_84_1" VALUE="[LL_FormTag_1_1_84_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Manager2Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Manager</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_16_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_16_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_16_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_16_1_ID" VALUE="[LL_FormTag_1_1_16_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_16_1_SavedName" VALUE="[LL_FormTag_1_1_16_1_SavedName /]">

<LABEL FOR="_1_1_16_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_16_1_Name" ID="_1_1_16_1_Name" VALUE="[LL_FormTag_1_1_16_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_16_1( this, this.form._1_1_16_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_16_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_18_1" NAME="_1_1_18_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_85_1" TITLE="Manager 2 Date" ID="_1_1_85_1" VALUE="[LL_FormTag_1_1_85_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Technical1Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Technical Assurance</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_20_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_20_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_20_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_20_1_ID" VALUE="[LL_FormTag_1_1_20_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_20_1_SavedName" VALUE="[LL_FormTag_1_1_20_1_SavedName /]">

<LABEL FOR="_1_1_20_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_20_1_Name" ID="_1_1_20_1_Name" VALUE="[LL_FormTag_1_1_20_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_20_1( this, this.form._1_1_20_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_20_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_67_1" NAME="_1_1_67_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_86_1" TITLE="Technical Assurance Date" ID="_1_1_86_1" VALUE="[LL_FormTag_1_1_86_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Executive1Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left">Executive</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_37_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_37_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_37_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_37_1_ID" VALUE="[LL_FormTag_1_1_37_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_37_1_SavedName" VALUE="[LL_FormTag_1_1_37_1_SavedName /]">

<LABEL FOR="_1_1_37_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_37_1_Name" ID="_1_1_37_1_Name" VALUE="[LL_FormTag_1_1_37_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_37_1( this, this.form._1_1_37_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_37_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_38_1" NAME="_1_1_38_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_92_1" TITLE="Executive 1 Date" ID="_1_1_92_1" VALUE="[LL_FormTag_1_1_92_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Executive2Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Executive</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_42_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_42_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_42_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_42_1_ID" VALUE="[LL_FormTag_1_1_42_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_42_1_SavedName" VALUE="[LL_FormTag_1_1_42_1_SavedName /]">

<LABEL FOR="_1_1_42_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_42_1_Name" ID="_1_1_42_1_Name" VALUE="[LL_FormTag_1_1_42_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_42_1( this, this.form._1_1_42_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_42_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_43_1" NAME="_1_1_43_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_93_1" TITLE="Executive 2 Date" ID="_1_1_93_1" VALUE="[LL_FormTag_1_1_93_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Executive3Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Executive</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_46_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_46_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_46_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_46_1_ID" VALUE="[LL_FormTag_1_1_46_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_46_1_SavedName" VALUE="[LL_FormTag_1_1_46_1_SavedName /]">

<LABEL FOR="_1_1_46_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_46_1_Name" ID="_1_1_46_1_Name" VALUE="[LL_FormTag_1_1_46_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_46_1( this, this.form._1_1_46_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_46_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_47_1" NAME="_1_1_47_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_94_1" TITLE="Executive 3 Date" ID="_1_1_94_1" VALUE="[LL_FormTag_1_1_94_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="Executive4Table"  style="display:none;"  width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> Executive</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_50_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_50_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_50_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_50_1_ID" VALUE="[LL_FormTag_1_1_50_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_50_1_SavedName" VALUE="[LL_FormTag_1_1_50_1_SavedName /]">

<LABEL FOR="_1_1_50_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_50_1_Name" ID="_1_1_50_1_Name" VALUE="[LL_FormTag_1_1_50_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_50_1( this, this.form._1_1_50_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_50_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_18_1" NAME="_1_1_18_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_95_1" TITLE="Executive 4 Date" ID="_1_1_95_1" VALUE="[LL_FormTag_1_1_95_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>







<table id="CEOBoard1Table" style="display:none;" width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td width="170" class="style2"><div align="left"> CEO or Board</div></td>

    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">

function chooseUser_1_1_54_1()

{

var		url;

var		w;

url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_54_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';

url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");

if ( w.focus )

{

w.focus();

}

}

function KeepFieldSet_1_1_54_1( nameField, savedValue )

{

if ( nameField.value != '' )

{

alert( "You can't enter text in by hand. Use the link to the right." );

nameField.value = savedValue;

}

else if ( markDirty != null )

{

markDirty();

}

if ( nameField.value == savedValue.value )

{

savedValue.value = nameField.value;

}

}

</SCRIPT>

<INPUT TYPE="HIDDEN" NAME="_1_1_54_1_ID" VALUE="[LL_FormTag_1_1_54_1 /]">

<INPUT TYPE="HIDDEN" NAME="_1_1_54_1_SavedName" VALUE="[LL_FormTag_1_1_54_1_SavedName /]">

<LABEL FOR="_1_1_54_1_Name"></LABEL>

<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_54_1_Name" ID="_1_1_54_1_Name" VALUE="[LL_FormTag_1_1_54_1_SavedName /]" ALT="Select User" SIZE="23" ONCHANGE="KeepFieldSet_1_1_54_1( this, this.form._1_1_54_1_SavedName.value )">

<A HREF="javascript:chooseUser_1_1_54_1()"><IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></A></div>

    </td>

    <td width="100" class="style2"><div align="left">

      <SELECT CLASS="selectMenu" disabled ID="_1_1_55_1" NAME="_1_1_55_1" ONCHANGE="markDirty();">

<OPTION VALUE="" >&lt;None&gt;</OPTION>

<OPTION VALUE="Approve" >Approve</OPTION>

<OPTION VALUE="Reject" >Reject</OPTION>

</SELECT>

    </div></td>

    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_96_1" TITLE="CEO Board Date" ID="_1_1_96_1" VALUE="[LL_FormTag_1_1_96_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>

  </tr>

</table>

<br>

<table width="700" border="0" cellspacing="1" cellpadding="1">

  <tr>

    <td bgcolor="#EAEAEA">

    <INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="doFormSubmit( document.myForm );">

    </td>

  </tr>

</table>

<br>





</FORM>



</body>

</html>

Open in new window

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
you have
if (!vValue)
   vValue = 0;


at the top of your first script area.  looks like it's a mis copy or something.  need to delete those.  IT may be erroring out there.  Once there's an error every javascript that follows is invalid.
0
 

Author Comment

by:sknoll84
Comment Utility
k, i removed that so now it's:

(still not working)
<script type="text/javascript">
if (!vValue)
   vValue = 0;
           function ShowTable(vTable,vValue)
       {
              vValue = parseInt(vValue);
               var mySelect = document.getElementById(vTable);
           var maxCount = mySelect.getElementsByTagName("option").length - 1;
           if (vValue > 0)
           {
               for(i=vValue; i>0; i--)
               {
                   document.getElementById(vTable+i+'Table').style.display = 'block';
               }
               
               for(j=vValue+1; j<maxCount+1; j++)
               {
                   document.getElementById(vTable+j+'Table').style.display = 'none';
               }
           }
           else
           {
               for(k=vValue+1; k<maxCount+1; k++)
               {
                   document.getElementById(vTable+k+'Table').style.display = 'none';
               }
           }
       } 
</script>

Open in new window

0
 

Author Comment

by:sknoll84
Comment Utility
hang on, maybe i removed it from the wrong spot
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
no no.  you needed to delete the stuff BEFORE that function call, not the stuff in it...
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
lol, yea.  :P
0
 

Author Comment

by:sknoll84
Comment Utility
yeah, i removed it from the wrong spot - i shouldve removed it straight from the top > i have now - still not working
<script type="text/javascript">

function ShowTable(vTable,vValue)

       {

           if (!vValue)

                  vValue = 0;

              vValue = parseInt(vValue);

               var mySelect = document.getElementById(vTable);

           var maxCount = mySelect.getElementsByTagName("option").length - 1;

           if (vValue > 0)

           {

               for(i=vValue; i>0; i--)

               {

                   document.getElementById(vTable+i+'Table').style.display = 'block';

               }

               

               for(j=vValue+1; j<maxCount+1; j++)

               {

                   document.getElementById(vTable+j+'Table').style.display = 'none';

               }

           }

           else

           {

               for(k=vValue+1; k<maxCount+1; k++)

               {

                   document.getElementById(vTable+k+'Table').style.display = 'none';

               }

           }

       } 

</script>

Open in new window

0
 

Author Comment

by:sknoll84
Comment Utility
maybe the {    ?
0
 

Author Comment

by:sknoll84
Comment Utility
removed the { from the top - no worky
<script type="text/javascript">
function ShowTable(vTable,vValue)
           if (!vValue)
                  vValue = 0;
              vValue = parseInt(vValue);
               var mySelect = document.getElementById(vTable);
           var maxCount = mySelect.getElementsByTagName("option").length - 1;
           if (vValue > 0)
           {
               for(i=vValue; i>0; i--)
               {
                   document.getElementById(vTable+i+'Table').style.display = 'block';
               }
               
               for(j=vValue+1; j<maxCount+1; j++)
               {
                   document.getElementById(vTable+j+'Table').style.display = 'none';
               }
           }
           else
           {
               for(k=vValue+1; k<maxCount+1; k++)
               {
                   document.getElementById(vTable+k+'Table').style.display = 'none';
               }
           }
       } 
</script>

Open in new window

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
which?  the one below the function declaration?  That's needed.  It means everything in those brackets are part of the function.
0
 

Author Comment

by:sknoll84
Comment Utility
now that function is broke....which hides/shows tables based on selection
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
hmm it appears that whole function is jacked up inside.

that first if statement doesn't even ahve brackets and it should.  all if statements need brackets.

           if (!vValue)
                  vValue = 0;
              vValue = parseInt(vValue);
               var mySelect = document.getElementById(vTable);
           var maxCount = mySelect.getElementsByTagName("option").length - 1;

An iff statement whould be like this:

if(condition)
{
  code;
}

do you know what part of that code is supposed to be done within the if?
0
 

Author Comment

by:sknoll84
Comment Utility
okay, adding the { back fixed my original function


0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
oh so that function is working?  Just leave it then...
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:sknoll84
Comment Utility
you helped me with that function on a previous questions :)

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_26497705.html
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
um, I noticed you have multiple drop downs of Reject approve with different IDs.  So there's multiples of this drop down?  Do all of these drop downs need to be filled out?
0
 

Author Comment

by:sknoll84
Comment Utility
correct, those are all disabled

i only need to require ONE drop down:

<SELECT CLASS="selectMenu" ID="_1_1_68_1" NAME="_1_1_68_1" ONCHANGE="setDate(this.options[this.selectedIndex].value); IsReject(this.options[this.selectedIndex].value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>

Open in new window

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
it's the doFormSubmit function that is jacking it up.  Do you need that function?  If not change the button to look like this:

<INPUT CLASS="applyButton" TYPE="submit" VALUE="Submit" NAME="IgnoreMe" >
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
ah it's because you don't have that function declared on that page.  IT doesn't know what to do.  So if you do need that function you need to put it at the top in the javascript script section.
0
 

Author Comment

by:sknoll84
Comment Utility
that function is being called from this:
<SCRIPT LANGUAGE="JavaScript1.2" SRC="[LL_SUPPORTPATH /]webform/formssupport.js"></SCRIPT>

this is that function:

// This function is used by forms to submit
      //
      //      theForm            the form object on the html page
      //

      function doFormSubmit ( theForm )
      {
            var            tempObj;
            
            
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                  
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
            
            theForm.submit();
      }

Open in new window

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
so do you need that function?  I'd remove it.  Once I removed the call to that function everything worked...
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
Well that is with making it a submit rather than a button type
0
 

Author Comment

by:sknoll84
Comment Utility
i cant remove or modify the doFormSubmit function

is there a different direction we can go?  what if we make the submit button inactive UNTIL approve or reject is selected?

rather than a popup.....
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
Well the issue is the form is not getting submitted.  The button is not working.  Here is what you can do:

remove the thisForm.submit(); command out of that function then change the button to a submit type.

<input type="submit">

let me know if that works.  

I'm not sure the effect the function will have if you leave the submit command in there, so it would be better to take it out.  That way the rest of what that function is supposed to do is still intact.  We are just moving how you submit the form.
0
 

Author Comment

by:sknoll84
Comment Utility
no, the button works - the form DOES submit okay

it absolutely submits

i was never prompted with a popup if i didnt select approve or reject....
0
 

Author Comment

by:sknoll84
Comment Utility
<script type="text/javascript" language="javascript">
function  CheckRequired()
      {
            var myTextBox = document.getElementById('_1_1_68_1');

        if (myTextBox.value)            
        {
               return true;
             }
            else
             {
                  alert('Dropdown is a required field');
                   return false;
            }
      }
</script>

Open in new window


<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST" onSubmit="return CheckRequired();" >

Open in new window


<SELECT CLASS="selectMenu" ID="_1_1_68_1" NAME="_1_1_68_1" ONCHANGE="setDate(this.options[this.selectedIndex].value); IsReject(this.options[this.selectedIndex].value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>

Open in new window


<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" 
ONCLICK="doFormSubmit( document.myForm );">

Open in new window


0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
I wonder if it is bypassing the onsubmit event somehow.  It shouldn't be though.

The only other option is to change that function to this:

      function doFormSubmit ( theForm )
      {
            var            tempObj;
           
           
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                 
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
           
            if (CheckRequired())
            {
                theForm.submit();
             }
      }
0
 

Author Comment

by:sknoll84
Comment Utility
so i should add your post above to the function being called from the .js file?

and leave the code i posted above your last post intact?
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST" onSubmit="return CheckRequired();" >
remove the onsubmit attribute there.

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
other than that, then yes, update the function in the js file as above.
0
 

Author Comment

by:sknoll84
Comment Utility
okay, on the server i modified <SCRIPT LANGUAGE="JavaScript1.2" SRC="[LL_SUPPORTPATH /]webform/formssupport.js"></SCRIPT> with the following:
function doFormSubmit ( theForm )
      {
            var            tempObj;
            
            
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                  
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
            
            if (CheckRequired())
            {
                theForm.submit();
             }
      }

Open in new window


i have this on my page:
<script type="text/javascript" language="javascript">
function  CheckRequired()
      {
            var myTextBox = document.getElementById('_1_1_68_1');

        if (myTextBox.value)            
        {
               return true;
             }
            else
             {
                  alert('Dropdown is a required field');
                   return false;
            }
      }
</script>

Open in new window


this is my button:
<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="doFormSubmit( document.myForm );">

Open in new window


beginning of my form:
<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST">

Open in new window

0
 

Author Comment

by:sknoll84
Comment Utility
standby
0
 

Author Comment

by:sknoll84
Comment Utility
okay, after a lot of thought.....what about this direction:

remove the doFormSubmit function from my button:
<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" [b]ONCLICK="doFormSubmit( document.myForm );[/b]">

Open in new window


and call doFormSubmit within the CheckRequired function?

if selection has value then doFormSubmit
else
alert with popup

would that logic work?
0
 

Author Comment

by:sknoll84
Comment Utility
and for my button call CheckRequired:
<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="CheckRequired();">

Open in new window

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
yea you can do it that way.  Is it not working?  
0
 

Author Comment

by:sknoll84
Comment Utility
yeah not working, yet :)

could you please assist with creating that javascript function? I'm only good with logic and thoughts.
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
I don't think it's gonna help.  I think there is another problem going on here.  Maybe in the js file.  Try moving the doFormSubmit function to the page itself and see if it works.  I have it working on my system this way.  I Really don't think we need to rewrite anything.  Either way the functions gets called.

I'm heading out unfortunately.  Will pick up tomorrow if you still need help.
0
 

Author Comment

by:sknoll84
Comment Utility
hope you had a good night!  did a lot of thinking last night....

so i can't be modifying the .js file as it impacts other applications

this js file is clean - no issue there.  it was written by open text and the module which references it cost 30k - so i have to trust there is no issue within the .js

doFormSubmit works and the form submits properly.  when i bring in the CheckRequired function, my form still submits > the user just isnt alerted if a selection is not chosen


i have two ideas.....
1. bring the doFormSubmit function into the CheckRequired logic
2. hide the submit button until Approve or Reject is selected (if <none> is selected, the button is hidden)

what do you think?  i'd still rather see the alert work but i can deal with option two.  let me know, i can award you points and open a new question if it makes things easier.

much appreciated!

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
Well, if you could try to move the function to the page and check it out that'd be great.  you could just copy it and rename the function to something different.  I'm really curious because I have it working all as it should be, but I the function in the head rather than in an external js file.

So just copy the function into your script area and rename it doFormSubmit2 and then change it in the button to call it as doFormSubmit2
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
here it is working with your code, just with the function in the script instead of external.
alert-working.png
0
 

Author Comment

by:sknoll84
Comment Utility
okay, ill move it into my html and rename the function > standby
0
 

Author Comment

by:sknoll84
Comment Utility
okay, this is my CheckRequired function:
<script type="text/javascript" language="javascript">
function  CheckRequired()
{
	var myTextBox =    document.getElementById('_1_1_68_1');

      if (myTextBox.options[myTextBox.selectedIndex].value)
    {
       return true;
     }
   else
     {
        alert('Dropdown is a required field');
         return false;
    }
}
</script>

Open in new window


i ripped this from my js file and renamed the function to doIT:
<script type="text/javascript" language="javascript">
      function doIT ( theForm )
      {
            var            tempObj;
            
            
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                  
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
            
            theForm.submit();
      }
</script>

Open in new window


this is at the top of my form:
<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST" onsubmit="CheckRequired()">

Open in new window


this is my submit button:
<INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="doIT( document.myForm );">

Open in new window




conclusion:  form submits but CheckRequired is not functioning
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
need this in your DoIt function:
function doIT ( theForm )
      {
            var            tempObj;
           
           
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                 
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
           
           if (CheckRequired())
            {
                theForm.submit();
             }

      }

 

0
 

Author Comment

by:sknoll84
Comment Utility
okay.....we are close!

if i dont choose a selection and click submit > i get an alert
if i go to choose approve or reject, i cant click submit because its grayed out (disabled)

ideas?
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
That goes back to what the doFormSubmit function is doing.  That's why I asked earlier why it was doing that.  Is that not what you want it to do?  if not, do you know why it is there?  
0
 
LVL 9

Accepted Solution

by:
CCSOFlag earned 500 total points
Comment Utility
Here is what you can do to prevent that if the alert pops up.  then it'll only disable the buttons if it gets submitted.

function doIT ( theForm )
      {
          if (CheckRequired())
            {

            var            tempObj;
           
           
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                 
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
           

                theForm.submit();
            }

      }
0
 

Author Comment

by:sknoll84
Comment Utility
okay - i see what you're saying.  let me make a phone call.
0
 

Author Comment

by:sknoll84
Comment Utility
what do you want for christmas?
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
lol, my two front teeth?
0
 

Author Closing Comment

by:sknoll84
Comment Utility
this guy deserves a crown.  he's royalty in my book!
0
 

Author Comment

by:sknoll84
Comment Utility
i accepted the solution that's working - thanks a lot.  i hope i can work with you again one day ;-)
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
lol, thanks... :P

As you are learning it's always quite cumbersome trying to work with code from existing projects/past programmers.  LOL  Sometimes you just never know what they were thinking.  Oh well, glad you are happy with how it's working now.
0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
I actually started following you, not sure how that works, I'm assuming it'll send me an email when you post questions?  We'll see.
0
 

Author Comment

by:sknoll84
Comment Utility
can you help me figure out why this one keeps alerting, whether an option is selected or not.
ive spent the past 30 minutes on this one with no success.  my other 18 forms (html sites) are working fine!
<HTML>
<HEAD>
<STYLE>
 .browseRow1 { background-color: #FFFFFF;  } 
 .browseRow2 { background-color: #EEEEEE;  } 
.style1 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 17px;
}
.style2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
}
.style3 {font-size: 9px}
</STYLE>
<TITLE>Executive</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="[LL_SUPPORTPATH /]core/otajaxsupport.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" SRC="[LL_SUPPORTPATH /]webform/formssupport.js"></SCRIPT>


<script type="text/javascript" language="javascript">
function doIT ( theForm )
      {
          if (CheckRequired())
            {
            var            tempObj;
           
           
            for ( i = 0; i < theForm.length; i++ )
            {
                  tempobj = theForm.elements[ i ];
                 
                  if ( tempobj.type.toLowerCase() == "button" )
                  {
                        tempobj.disabled = true;
                  }
            }
           

                theForm.submit();
            }

      }
</script>

<script type="text/javascript" language="javascript">
function  CheckRequired()
{
	var myTextBox =    document.getElementById('_1_1_18_1');

      if (myTextBox.options[myTextBox.selectedIndex].value)
    {
       return true;
     }
   else
     {
        alert('Please select your Approval');
         return false;
    }
}
</script>


<script type="text/javascript" language="javascript">
function HideNullParentTable(myID)
{
 myElement = document.getElementById(myID);
 if (!myElement.value)
 {
   myParent = myElement.parentNode;
   while(myParent.nodeName!='TABLE')
   {
     myParent = myParent.parentNode;
   }
   myParent.style.display = 'none';
 }
}

function RemoveEmptyFields()
{
 HideNullParentTable('_1_1_22_1_Name');
 HideNullParentTable('_1_1_25_1_Name');
 HideNullParentTable('_1_1_28_1_Name');
 HideNullParentTable('_1_1_31_1_Name');
 HideNullParentTable('_1_1_34_1_Name');
 HideNullParentTable('_1_1_12_1_Name');
 HideNullParentTable('_1_1_16_1_Name');
 HideNullParentTable('_1_1_20_1_Name');
 HideNullParentTable('_1_1_37_1_Name');
 HideNullParentTable('_1_1_42_1_Name');
 HideNullParentTable('_1_1_46_1_Name');
 HideNullParentTable('_1_1_50_1_Name');
 HideNullParentTable('_1_1_54_1_Name');
}
</script>

<script type="text/javascript" language="javascript">
     function setDate(ddlVal) {
       if (ddlVal == 'Approve' || IsReject( ddlVal ) ) {
//	   if (ddlVal == 'Approve') {
             var Today = new Date();
           var date =   Today.getDate();
           var month = Today.getMonth() + 1;
             var year = Today.getFullYear();

           var   full_date = month + "/" + date + "/" + year;

             document.getElementById('_1_1_95_1').value = full_date;
         }
       else {
           document.getElementById('_1_1_95_1').value   = '';
       }
 }
function IsReject(myValue)
{  
    if (myValue == "Reject")
        {
            document.getElementById('Executive4Comments').style.display    = 'inline-block';
            return true;
      }
    else
     {
             document.getElementById('Executive4Comments').style.display    = 'none';
            return false;
     }
  }
</script>



<BODY Class="pageBody">
<FORM NAME="myForm" ACTION="[LL_CGIPATH /]" ENCTYPE="multipart/form-data" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="func" VALUE="[LL_FUNC /]">
<INPUT TYPE="HIDDEN" NAME="LL_FUNC_VALUES" VALUE="[LL_FUNC_VALUES /]">
<INPUT TYPE="HIDDEN" NAME="LL_AttrFieldName" VALUE="">
<INPUT TYPE="HIDDEN" NAME="LL_AttrFieldIndex" VALUE="">
<INPUT TYPE="HIDDEN" NAME="LL_WFATTURL" VALUE="[LL_WFATTURL /]">
<table width="700" border="0" cellspacing="20" cellpadding="10">
  <tr>
    <td valign="bottom"><div align="center" class="style1">PAF - Review / Approve / Sign Off - Template</div></td>
    <td width="233"><div align="right"><img src="/img/company_logo_small.png" width="140" height="46"></div></td>
  </tr>
</table>

<table width="700" border="0" cellspacing="5" cellpadding="1">
  <tr>
    <td class="style2">Project Name:      <br></td>
    <td class="style2"><input class="valueEditable" type="text" name="_1_1_75_1" id="_1_1_75_1" value="[LL_FormTag_1_1_75_1 /]" size="32" maxlength="32" onfocus='this.blur();' onChange="markDirty();"></td>
    <td class="style2"><div align="right">PAF Number:
      <br>
    </div></td>
    <td class="style2">
      <div align="left">
        <input class="valueEditable" type="text" name="_1_1_3_1" id="_1_1_3_1" value="[LL_FormTag_1_1_3_1 /]" onfocus='this.blur();' size="32" maxlength="32" onChange="markDirty();">
        </div></td>
  </tr>
  <tr>
    <td class="style2">PAF Type:      <br></td>
    <td class="style2"><select class="selectMenu" disabled id="_1_1_4_1" name="_1_1_4_1" onChange="markDirty();">
      <option value="" >&lt;None&gt;</option>
      <option value="Capital" >Capital</option>
      <option value="Expense" >Expense</option>
      <option value="Fixed Assets" >Fixed Assets</option>
      <option value="G&amp;G / Seismic" >G&amp;G / Seismic</option>
      <option value="Global Exploration" >Global Exploration</option>
      <option value="IT / Software" >IT / Software</option>
      <option value="Land" >Land</option>
      <option value="Long Lead Items" >Long Lead Items</option>
      <option value="Plug &amp; Abandonment" >Plug &amp; Abandonment</option>
    </select></td>
    <td class="style2"><div align="right">Net Dollar Amount:
      <br>
    </div></td>
    <td class="style2">
      <div align="left">
        <INPUT CLASS="valueEditable" TYPE="text" NAME="_1_1_103_1" ID="_1_1_103_1" VALUE="[LL_FormTag_1_1_103_1 /]" SIZE="32" MAXLENGTH="32"onfocus='this.blur();' ONCHANGE="markDirty();">
        </div></td>
  </tr>
</table>
<table width="700" border="0" cellspacing="5" cellpadding="1">
  <tr>
    <td valign="top" class="style2"><p>Project Description:<br><TEXTAREA CLASS="valueEditable" ID="_1_1_7_1" NAME="_1_1_7_1" WRAP="soft" ROWS="3" COLS="80" onfocus='this.blur();' ONCHANGE="markDirty();">[LL_FormTag_1_1_7_1 /]</TEXTAREA>
        <br><input class="applyButton" type="BUTTON" value="Display PAF Package" name="DisplayAttachments" onClick="window.open('[LL_WFATTURL /]', 'DisplayAttachments','height=600,width=800,scrollbars=yes,resizable=yes,menubar=no');"></td>
  </tr>
</table>
<br>
<table width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" bgcolor="#EAEAEA" class="style2"><div align="left">Role</div></td>
    <td width="300" bgcolor="#EAEAEA" class="style2"><div align="left">Person</div></td>
    <td width="100" bgcolor="#EAEAEA" class="style2"><div align="left">Approval</div></td>
    <td width="130" bgcolor="#EAEAEA" class="style2"><div align="left">Date <span class="style3">mm/dd/yyyy</span></div></td>
  </tr>
</table>
<table width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left">Project Manager</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_8_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_8_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_8_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_8_1_ID" VALUE="[LL_FormTag_1_1_8_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_8_1_SavedName" VALUE="[LL_FormTag_1_1_8_1_SavedName /]">
<LABEL FOR="_1_1_8_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_8_1_Name" ID="_1_1_8_1_Name" VALUE="[LL_FormTag_1_1_8_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_8_1( this, this.form._1_1_8_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div></td>
    <td width="100" class="style2"><div align="left"><SELECT CLASS="selectMenu" disabled ID="_1_1_68_1" NAME="_1_1_68_1" ONCHANGE="setDate(this.value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT></div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" DISABLED="disabled" NAME="_1_1_102_1" ID="_1_1_102_1" VALUE="[LL_FormTag_1_1_102_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Reviewer1Table"  style="" width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Reviewer</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_22_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_22_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_22_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_22_1_ID" VALUE="[LL_FormTag_1_1_22_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_22_1_SavedName" VALUE="[LL_FormTag_1_1_22_1_SavedName /]">
<LABEL FOR="_1_1_22_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_22_1_Name" ID="_1_1_22_1_Name" VALUE="[LL_FormTag_1_1_22_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_22_1( this, this.form._1_1_22_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" disabled ID="_1_1_97_1" NAME="_1_1_97_1" ONCHANGE="setDate(this.value);IsReject(this.value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_87_1" ID="_1_1_87_1" VALUE="[LL_FormTag_1_1_87_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>


<table id="Reviewer2Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Reviewer</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_25_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_25_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_25_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_25_1_ID" VALUE="[LL_FormTag_1_1_25_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_25_1_SavedName" VALUE="[LL_FormTag_1_1_25_1_SavedName /]">
<LABEL FOR="_1_1_25_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_25_1_Name" ID="_1_1_25_1_Name" VALUE="[LL_FormTag_1_1_25_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_25_1( this, this.form._1_1_25_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" disabled ID="_1_1_98_1" NAME="_1_1_98_1" ONCHANGE="setDate(this.value);IsReject(this.value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_88_1" ID="_1_1_88_1" VALUE="[LL_FormTag_1_1_88_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>

<table id="Reviewer3Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Reviewer</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_28_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_28_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_28_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_28_1_ID" VALUE="[LL_FormTag_1_1_28_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_28_1_SavedName" VALUE="[LL_FormTag_1_1_28_1_SavedName /]">
<LABEL FOR="_1_1_28_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_28_1_Name" ID="_1_1_28_1_Name" VALUE="[LL_FormTag_1_1_28_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_28_1( this, this.form._1_1_28_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" disabled ID="_1_1_99_1" NAME="_1_1_99_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_89_1" ID="_1_1_89_1" VALUE="[LL_FormTag_1_1_89_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Reviewer4Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Reviewer</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_31_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_31_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_31_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_31_1_ID" VALUE="[LL_FormTag_1_1_31_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_31_1_SavedName" VALUE="[LL_FormTag_1_1_31_1_SavedName /]">
<LABEL FOR="_1_1_31_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_31_1_Name" ID="_1_1_31_1_Name" VALUE="[LL_FormTag_1_1_31_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_31_1( this, this.form._1_1_31_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" disabled ID="_1_1_100_1" NAME="_1_1_100_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_90_1" ID="_1_1_90_1" VALUE="[LL_FormTag_1_1_90_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Reviewer5Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Reviewer</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_34_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_34_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_34_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_34_1_ID" VALUE="[LL_FormTag_1_1_34_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_34_1_SavedName" VALUE="[LL_FormTag_1_1_34_1_SavedName /]">
<LABEL FOR="_1_1_34_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_34_1_Name" ID="_1_1_34_1_Name" VALUE="[LL_FormTag_1_1_34_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_34_1( this, this.form._1_1_34_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_101_1" disabled NAME="_1_1_101_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_91_1" ID="_1_1_91_1" VALUE="[LL_FormTag_1_1_91_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Manager1Table" style="" width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Manager</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_12_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_12_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_12_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_12_1_ID" VALUE="[LL_FormTag_1_1_12_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_12_1_SavedName" VALUE="[LL_FormTag_1_1_12_1_SavedName /]">
<LABEL FOR="_1_1_12_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_12_1_Name" ID="_1_1_12_1_Name" VALUE="[LL_FormTag_1_1_12_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_12_1( this, this.form._1_1_12_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_14_1" disabled NAME="_1_1_14_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_84_1" ID="_1_1_84_1" VALUE="[LL_FormTag_1_1_84_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Manager2Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Manager</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_16_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_16_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_16_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_16_1_ID" VALUE="[LL_FormTag_1_1_16_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_16_1_SavedName" VALUE="[LL_FormTag_1_1_16_1_SavedName /]">
<LABEL FOR="_1_1_16_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_16_1_Name" ID="_1_1_16_1_Name" VALUE="[LL_FormTag_1_1_16_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_16_1( this, this.form._1_1_16_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_18_1" disabled NAME="_1_1_18_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_85_1" ID="_1_1_85_1" VALUE="[LL_FormTag_1_1_85_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Technical1Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Technical Assurance</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_20_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_20_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_20_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_20_1_ID" VALUE="[LL_FormTag_1_1_20_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_20_1_SavedName" VALUE="[LL_FormTag_1_1_20_1_SavedName /]">
<LABEL FOR="_1_1_20_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_20_1_Name" ID="_1_1_20_1_Name" VALUE="[LL_FormTag_1_1_20_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_20_1( this, this.form._1_1_20_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_67_1" disabled NAME="_1_1_67_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_86_1" ID="_1_1_86_1" VALUE="[LL_FormTag_1_1_86_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Executive1Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left">Executive</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_37_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_37_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_37_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_37_1_ID" VALUE="[LL_FormTag_1_1_37_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_37_1_SavedName" VALUE="[LL_FormTag_1_1_37_1_SavedName /]">
<LABEL FOR="_1_1_37_1_Name"></LABEL>
<input class="valueEditable" type="TEXT" name="_1_1_37_1_Name" id="_1_1_37_1_Name" value="[LL_FormTag_1_1_37_1_SavedName /]" alt="Select User" size="23" onfocus='this.blur();' onChange="KeepFieldSet_1_1_37_1( this, this.form._1_1_37_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_38_1" disabled NAME="_1_1_38_1" ONCHANGE="setDate(this.value);IsReject(this.value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" disabled NAME="_1_1_92_1" ID="_1_1_92_1" VALUE="[LL_FormTag_1_1_92_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>

<table id="Executive2Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Executive</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_42_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_42_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_42_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_42_1_ID" VALUE="[LL_FormTag_1_1_42_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_42_1_SavedName" VALUE="[LL_FormTag_1_1_42_1_SavedName /]">
<LABEL FOR="_1_1_42_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_42_1_Name" ID="_1_1_42_1_Name" VALUE="[LL_FormTag_1_1_42_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_42_1( this, this.form._1_1_42_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" disabled ID="_1_1_43_1" NAME="_1_1_43_1" ONCHANGE="setDate(this.value);IsReject(this.value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" disabled TYPE="text" NAME="_1_1_93_1" ID="_1_1_93_1" VALUE="[LL_FormTag_1_1_93_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Executive3Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Executive</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_46_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_46_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_46_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_46_1_ID" VALUE="[LL_FormTag_1_1_46_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_46_1_SavedName" VALUE="[LL_FormTag_1_1_46_1_SavedName /]">
<LABEL FOR="_1_1_46_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_46_1_Name" ID="_1_1_46_1_Name" VALUE="[LL_FormTag_1_1_46_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_46_1( this, this.form._1_1_46_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_47_1" disabled NAME="_1_1_47_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" DISABLED="disabled" TYPE="text" NAME="_1_1_94_1" ID="_1_1_94_1" VALUE="[LL_FormTag_1_1_94_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>



<table id="Executive4Table"  style=""  width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> Executive</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_50_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_50_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'

w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_50_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_50_1_ID" VALUE="[LL_FormTag_1_1_50_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_50_1_SavedName" VALUE="[LL_FormTag_1_1_50_1_SavedName /]">
<LABEL FOR="_1_1_50_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_50_1_Name" ID="_1_1_50_1_Name" VALUE="[LL_FormTag_1_1_50_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_50_1( this, this.form._1_1_50_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_18_1" NAME="_1_1_18_1" ONCHANGE="setDate(this.options[this.selectedIndex].value); IsReject(this.options[this.selectedIndex].value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" NAME="_1_1_95_1" ID="_1_1_95_1" VALUE="[LL_FormTag_1_1_95_1 /]" SIZE="11" MAXLENGTH="32" onfocus='this.blur();' ONCHANGE="markDirty();"></div></td>
  </tr>
</table>

<table id="Executive4Comments"  style="display:none;" width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="345" valign="middle"><div align="right" class="style2">
      <div align="right">Reason for Rejection:</div>
    </div></td>
    <td width="348" valign="top"><div align="right">
      <TEXTAREA CLASS="valueEditable" ID="_1_1_52_1" NAME="_1_1_52_1" WRAP="soft" ROWS="4" COLS="50" ONFOCUS="" ONCHANGE="markDirty();">[LL_FormTag_1_1_52_1 /]</TEXTAREA>
    </div></td>
  </tr>
</table>

<table id="CEOBoard1Table" style="" width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td width="170" class="style2"><div align="left"> CEO or Board</div></td>
    <td width="300" class="style2"><div align="left"><SCRIPT LANGUAGE="JavaScript">
function chooseUser_1_1_54_1()
{
var		url;
var		w;
url = '/livelink/livelink.exe?func=user.SelectUserDlg&formname=myForm&fieldprefix=_1_1_54_1&title=Select%20User&DisplayUserName&NoGroups=FALSE';
url = url + '&NoGroupsSelectable=TRUE'
w = window.open(url,"","height=340,width=680,scrollbars=yes,resizable=yes,menubar=no,toolbar=yes,status=yes");
if ( w.focus )
{
w.focus();
}
}
function KeepFieldSet_1_1_54_1( nameField, savedValue )
{
if ( nameField.value != '' )
{
alert( "You can't enter text in by hand. Use the link to the right." );
nameField.value = savedValue;
}
else if ( markDirty != null )
{
markDirty();
}
if ( nameField.value == savedValue.value )
{
savedValue.value = nameField.value;
}
}
</SCRIPT>
<INPUT TYPE="HIDDEN" NAME="_1_1_54_1_ID" VALUE="[LL_FormTag_1_1_54_1 /]">
<INPUT TYPE="HIDDEN" NAME="_1_1_54_1_SavedName" VALUE="[LL_FormTag_1_1_54_1_SavedName /]">
<LABEL FOR="_1_1_54_1_Name"></LABEL>
<INPUT CLASS="valueEditable" TYPE="TEXT" NAME="_1_1_54_1_Name" ID="_1_1_54_1_Name" VALUE="[LL_FormTag_1_1_54_1_SavedName /]" ALT="Select User" SIZE="23" onfocus='this.blur();' ONCHANGE="KeepFieldSet_1_1_54_1( this, this.form._1_1_54_1_SavedName.value )">
<IMG SRC="/img/guy_select.gif" ALT="Select User" BORDER="0"></div>
    </td>
    <td width="100" class="style2"><div align="left">
      <SELECT CLASS="selectMenu" ID="_1_1_55_1" disabled NAME="_1_1_55_1" ONCHANGE="markDirty();">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>
    </div></td>
    <td width="130" class="style2"><div align="left"><INPUT CLASS="valueEditable" TYPE="text" DISABLED="disabled" NAME="_1_1_96_1" ID="_1_1_96_1" VALUE="[LL_FormTag_1_1_96_1 /]" SIZE="11" MAXLENGTH="32" ONCHANGE="markDirty();"></div></td>
  </tr>
</table>
<br>
<table width="700" border="0" cellspacing="1" cellpadding="1">
  <tr>
    <td bgcolor="#EAEAEA">
    <INPUT CLASS="applyButton" TYPE="BUTTON" VALUE="Submit" NAME="IgnoreMe" ONCLICK="doIT( document.myForm );">
    </td>
  </tr>
</table>
<br>


</FORM>
<script type="text/javascript">
RemoveEmptyFields()
</script>
</body>
</html>

Open in new window

0
 

Author Comment

by:sknoll84
Comment Utility
im trying to require this selection box:

<SELECT CLASS="selectMenu" ID="_1_1_18_1" NAME="_1_1_18_1" ONCHANGE="setDate(this.options[this.selectedIndex].value); IsReject(this.options[this.selectedIndex].value);">
<OPTION VALUE="" >&lt;None&gt;</OPTION>
<OPTION VALUE="Approve" >Approve</OPTION>
<OPTION VALUE="Reject" >Reject</OPTION>
</SELECT>

Open in new window

0
 
LVL 9

Expert Comment

by:CCSOFlag
Comment Utility
CheckRequired is checking for that one drop down.  So if you need to check multiple ones we'll need to rewrite some code...
0
 

Author Comment

by:sknoll84
Comment Utility
no, only trying to check one selection box, _1_1_18_1

i opened a new question if that helps....

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_26619162.html
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now