Author |
Topic |
|
Cliff
Average Member
United States
501 Posts |
Posted - 11 September 2003 : 07:51:25
|
How do you guys code the "Post New Topic" buttons so they are grayed out once pressed? |
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 11 September 2003 : 08:05:50
|
I usualy add some javascript to the form tag like this
<form action="post_info.asp" method="post" name="PostTopic" onSubmit="document.PostTopic.Submit.disabled=true;document.PostTopic.Submit.value='Please Wait';"> |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 11 September 2003 : 08:08:37
|
You need to use a bit of javascript.
If you are using a form validation function add the following to the function after submitting the form (if not, just add it to the button using the onclick event):
document.FormName.ButtinName.disabled = true
If you're looking to add this feature to your own forums find the validate function in inc_code.js and add the following line before the line that reads "return true" within that function:
document.PostTopic.Submit.disabled = true
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Cliff
Average Member
United States
501 Posts |
Posted - 12 September 2003 : 10:27:36
|
I am using a cold fusion page that already has a lot of form validation built into it. Whenever I've tried to add javascript validation to the onSubmit I've had trouble.
How would I do this as an onClick?
Thanks to both for the replies. |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 12 September 2003 : 11:55:02
|
I'm not sure, but if you use that onClick on the submit button of a form, and the form doesn't pass validation, the submit button probably can't be used anymore. You'd then have a lot bigger problems than when you leave the submit button alone... |
|
|
Cliff
Average Member
United States
501 Posts |
Posted - 12 September 2003 : 12:52:32
|
Wow Roland I never thought of that. I have a lot of validation on the form because I know people will forget, put in a value out of the allowed range, or just plain old mess up. Then they will get all of those pop-ups telling them what to fix and once they do the submit button would be gone!! That wouldn't be funny, but I am laughing now. |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 12 September 2003 : 13:10:48
|
If you're having trouble trying to figure out where to stick the code to disable th button, post your javascript function here and we'll help you out.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Cliff
Average Member
United States
501 Posts |
Posted - 12 September 2003 : 13:50:36
|
MeTV, I think I might leave this out. I like the idea of people not being able to hit it more than once, but I'm afraid I'll lose the button altogether.
Let's says I have a form with 10 elements on it. One of them says enter a number 1-10. They make a mistake and enter "a" instead of a number. The cold fusion form has javascript validation built in. The hit submit and get the message of "You must enter a valid number". They go back and fix the number. Now when they go to submit the form, th button is gone, right? I'm presuming the other 9 required elements are OK, and they fixed this one, so I don't want it refreshed.
If you think what I'm looking for is possible, I'll be glad to here it. I can post the cold fusion form, but I don't think that relevant.
I guess what I want is for the button to disappear once the form is considered acceptable. |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 12 September 2003 : 19:30:03
|
That's what happens if the extra JavaScript is added correctly. My comment was merely meant to remind you that you could run into trouble if you add the JavaScript directly to the submit button using onClick. Try going to http://www.rakkoon.com/guestbook_entry.asp?GB_ID=11 to see what happens when you add the button disabling code to the validation codes.
Feel free to make a post in the guestbook. I'll delete it if it's just a test |
Edited by - Roland on 12 September 2003 19:30:58 |
|
|
Cliff
Average Member
United States
501 Posts |
Posted - 15 September 2003 : 07:53:17
|
So, let's say I am really not understanding you (honestly I think I'm not).
If I add this as an onSubmit as compared to an onClick the form validation will still occur? Obviously I can't have the button disappear before the data is accepted and considered valid.
I will play with that and see how it works out.
I posted a comment in your guestbook as test. Thanks. I played with it first, and it looks like what you have is what I want, for the valid for to be submitted and the button to gray out once pressed for a valid form.
Thanks! |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 15 September 2003 : 08:07:20
|
if you can post a link to the validation codes you're using now, I'm sure someone can take a look and tell you where and how to add the necessary codes to get something like what I have on my site's forms. |
|
|
Cliff
Average Member
United States
501 Posts |
Posted - 15 September 2003 : 09:29:20
|
The page is password protected, so I can post a link. Also, the action is set to nothing for right now. I am still working out the details of the display and validation, I'll add the insert page later.
If you try this link http://www.donorlimits.com/members/loginform.cfm you'll see the code added by the cold fusion page for the onsubmit. I didn't add this and wonder if it is part of the reason I have a hard time addin onSubmit code to cf pages.
I posted all of the code here. Please remember, I am not a programmer. I'm sure there are many better ways to code a lot of what I posted.
<html>
<head>
<title>Enter a new Donation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../Inputs.css" type="text/css">
<script>
<!-- Begin
// quick browser tests
var ns4 = (document.layers) ? true : false;
var ie4 = (document.all && !document.getElementById) ? true : false;
var ie5 = (document.all && document.getElementById) ? true : false;
var ns6 = (!document.all && document.getElementById) ? true : false;
function show(sw,obj) {
// show/hide the divisions
if (sw && (ie4 || ie5) ) document.all[obj].style.visibility = 'visible';
if (!sw && (ie4 || ie5) ) document.all[obj].style.visibility = 'hidden';
if (sw && ns4) document.layers[obj].visibility = 'visible';
if (!sw && ns4) document.layers[obj].visibility = 'hidden';
}
// End -->
</script>
</head>
<!--- Include the site header --->
<cfinclude template="../siteheader.cfm">
<CFQUERY NAME="Parameters" DATASOURCE="DONOR">
Select *
From params
Where Affiliation = '#session.Affiliation#'
</CFQUERY>
<CFQUERY NAME="AvailProc" DATASOURCE="Donor">
Select *
From SitePRoc
WHERE Affiliation = '#session.Affiliation#'
</CFQUERY>
<!--- Find the donor --->
<CFQUERY NAME="ThisDonor" DATASOURCE="Donor">
Select *
From Donor
WHERE UniqueID = '#DonorID#'
</CFQUERY>
<body bgcolor="#FFFFFF" text="#000000">
<table width="625" border="1" cellspacing="0" cellpadding="1" bordercolor="#666666">
<cfform name="form1" method="post" action="">
<tr>
<td>
<table width="645" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td colspan="6">
<CFIF #parameters.recordcount# EQ 0>
<div align="center" class="largetext">This site has not been setup by the
site administrator yet.<br>
Please contact your administrator or e-mail them here.</div>
<CFABORT>
<CFELSE>
</CFIF>
<CFIF #AvailProc.recordcount# EQ 0>
<div align="center" class="largetext">This site has not been setup by the
site administrator yet.<br>
Please contact your administrator or e-mail them here.</div>
<CFABORT>
<CFELSE>
</CFIF>
</td>
</tr>
<tr>
<td colspan="2">
<div align="right">Current Donor:</div>
</td>
<td colspan="4">
<div align="center"><CFOUTPUT>
<div align="left"><font color="##FF0000">#ThisDonor.UniqueID#</font></div>
</CFOUTPUT></div>
</td>
</tr>
<tr>
<td width="51"> </td>
<td width="111"> </td>
<td width="12"> </td>
<td width="440"> </td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111">
<CFIF #Parameters.Hgbhct# EQ 1>
<span class="labeltext">Hematocrit</span>
<CFELSEIF #Parameters.Hgbhct# EQ 2>
<span class="labeltext">Hemoglobin</span>
</CFIF>
</td>
<td width="12"> </td>
<td width="440">
<CFIF #Parameters.Hgbhct# EQ 1>
<cfinput type="text"
name="Hct"
class="Inputs"
Required="yes"
Message="You must enter the Hematocrit of the donor from this current donation.\nThe allowed range is from #parameters.minH# to #parameters.MaxH#.">
<CFELSEIF #Parameters.Hgbhct# EQ 2>
<cfinput type="text"
name="Hgb"
class="Inputs"
Required="yes"
Range="#parameters.minH#, #parameters.MaxH#"
Message="You must enter the Hemoglobin of the donor from this current donation.\nThe allowed range is from #parameters.minH# to #parameters.MaxH#.">
</CFIF>
</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111" class="labeltext">Sample Volume</td>
<td width="12"> </td>
<td width="440">
<input type="text" name="samples" class="Inputs" <CFOUTPUT>value="#parameters.tubevol#"</CFOUTPUT>>
</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111" class="labeltext">Unit Number</td>
<td width="12"> </td>
<td width="440">
<input type="text" name="textfield3" class="Inputs">
</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111" class="labeltext">Date of Collection</td>
<td width="12"> </td>
<td width="440">
<input type="text" name="textfield2" class="Inputs">
</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111" class="labeltext">Plasma Loss</td>
<td width="12"> </td>
<td width="440">
<input type="text" name="textfield" class="Inputs">
</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111" class="labeltext">Successful Collection</td>
<td width="12"> </td>
<td width="440">
<input type="checkbox" name="checkbox" value="checkbox" checked class="Inputs">
</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td colspan="6">
<HR>
</td>
</tr>
<tr>
<td width="51"> </td>
<td width="111" class="labeltext" valign="top">Procedure Type</td>
<td width="12"> </td>
<td width="440">
<table width="440" border="0" cellspacing="0" cellpadding="0">
<td width="76"> </td>
<td class="regtextblack" width="179"><u>Regular Procedure</u>
</td>
<td width="152">
<div align="center"><u>No Rinseback</u></div>
</td>
</tr>
<CFIF AvailProc.Proc1 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc1RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc1Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc1NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc1norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc2 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc2RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc2Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc2NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc2norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc3 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc3RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc3Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc3NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc3norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc4 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc4RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc4Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc4NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc4norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc5 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc5RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc5Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc5NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc5norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc6 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc6RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc6Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc6NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc6norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc7 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc7RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc7Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc7NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc7norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc8 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc8RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc8Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc8NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc8norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc9 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc9RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc9Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc9NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc9norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc10 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc10RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc10Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc10NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc10norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc11 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc11RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc11Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc11NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc11norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc12 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc12RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc12Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc12NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc12norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc13 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc13RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc13Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc13NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc13norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc14 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc14RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc14Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc14NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc14norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc15 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc15RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc15Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc15NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc15norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc16 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc16RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc16Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc16NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc16norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc17 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc17RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc17Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc17NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc17norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc18 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc18RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc18Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc18NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc18norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc19 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc19RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc19Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc19NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc19norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc20 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc20RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc20Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc20NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc20norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc21 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc21RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc21Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc21NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc21norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc22 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc22RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc22Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc22NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc22norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc23 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc23RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc23Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc23NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc23norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc24 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc24RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc24Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc24NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc24norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
<CFIF AvailProc.Proc25 EQ '1'>
<tr>
<td width="76">
<div align="right">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc25RBC#</CFOUTPUT>">
</div>
</td>
<td class="labeltext" width="179"><CFOUTPUT>#AvailProc.Proc25Label#</CFOUTPUT></td>
<td width="152">
<CFIF AvailProc.Proc25NoRinse EQ '1'>
<div align="center">
<input type="radio" name="radiobutton" value="<CFOUTPUT>#AvailProc.Proc25norinseRBC#</CFOUTPUT>">
</div>
<CFELSE>
<div align="center"><span class="smalltext">Not Available</span></div>
</CFIF>
</td>
</tr>
<tr>
<td colspan="3" height="2">
<HR size="1">
</td>
</tr>
</CFIF>
</table>
</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<CFIF Parameters.Gran EQ 1>
<tr>
<td colspan="6">
<HR>
</td>
</tr>
<tr>
<td width="51" height="66"> </td>
<td width="111" valign="top" class="labeltext" height="66"> Granulocyte
Options </td>
<td width="12" height="66"> </td>
<td width="440" height="66">
<table width="100" border="0" cellspacing="0" cellpadding="1" align="left">
<tr>
<td width="51" class="labeltext">Hct</td>
<td width="39">
<input type="text" name="textfield" size="10" class="Inputs">
</td>
<td width="4"> </td>
</tr>
<tr>
<td width="51" class="labeltext">Volume</td>
<td width="39">
<input type="text" name="textfield2" size="10" class="Inputs">
</td>
<td width="4"> </td>
</tr>
</table>
</td>
<td width="12" height="66"> </td>
<td width="19" height="66"> </td>
</tr>
</CFIF>
<td colspan="6">
<HR>
</td>
</tr>
<CFIF Parameters.Leuk EQ 1>
<tr>
<td width="51" height="55"> </td>
<td width="111" valign="top" class="labeltext" height="55"> Leukopack
Options </td>
<td width="12" height="55"> </td>
<td width="440" height="55">
<table width="100" border="0" cellspacing="0" cellpadding="1" align="left">
<tr>
<td width="51" class="labeltext">Hct</td>
<td width="39">
<input type="text" name="textfield" size="10" class="Inputs">
</td>
<td width="4"> </td>
</tr>
<tr>
<td width="51" class="labeltext">Volume</td>
<td width="39">
<input type="text" name="textfield22" size="10" class="Inputs">
</td>
<td width="4"> </td>
</tr>
</table>
</td>
<td width="12" height="55"> </td>
<td width="19" height="55"> </td>
</tr>
<CFELSE>
</CFIF>
<tr>
<td width="51"> </td>
<td width="111"> </td>
<td width="12"> </td>
<td width="440"> </td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111"> </td>
<td width="12"> </td>
<td width="440">
<input type="submit" name="Submit" value="Submit" class="submitbuttons">
<--- not working yet</td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
<tr>
<td width="51"> </td>
<td width="111"> </td>
<td width="12"> </td>
<td width="440"> </td>
<td width="12"> </td>
<td width="19"> </td>
</tr>
</table>
</td>
</tr>
</cfform>
</table>
</body>
</html>
|
|
|
|
Topic |
|