In the below code each loop as a FORM.
I use these FORMS in the onChange event.
Is there any substitute for FORM ? - <TMPL_LOOP NAME="AttachedFiles">
-
<form name="attach_<TMPL_VAR NAME=datetime><TMPL_VAR NAME=filename>">
-
<tr>
-
<td class="plogitemselectable" align="center"width="10%"><TMPL_VAR NAME="filesig"></td>
-
<td class="plogitemselectable" align="center" width="20%"><TMPL_VAR NAME="datetime"></td><td class="plogitemselectable" align="center"><a href="/cgi-bin/tps/attach_file.cgi?act=search&filename=<TMPL_VAR NAME=filename>&conid=<TMPL_VAR NAME=conid>&datetime=<TMPL_VAR NAME=datetime>"><TMPL_VAR NAME="filename"></a></td><td class="plogitemselectable"><TMPL_VAR NAME="comment"></td><td class="plogitemselectable" align="center"><TMPL_VAR NAME="type"></td><td class="plogitemselectable" align="center"><input type="checkbox" name="hidefile" "<TMPL_VAR NAME=hidefile>" onChange="updateHideStatus(this.form,'<TMPL_VAR NAME=datetime>','<TMPL_VAR NAME=filename>');"/></td>
-
</tr>
-
</form>
-
</TMPL_LOOP>
-
5 1458
um are you asking if there is an alternative for the <form> tag or am i confused. if you are asking for a replacement there isn't one i have ever heard of but i don't see what your problem is. you could try to use ASCII values for the tag, i've used this for other things before.
well the actual problem is that when I put the below code in Perl I can't see the form and the inside contents. So I wanted another tag . - my $i;
-
foreach $i (0 ..$#attachedfiledata) {
-
$str .= "<form name=\"attach_$attachedfiledata[$i]{'datetime'}$attachedfiledata[$i]{'filename'}\">";
-
$str .= "<tr>";
-
$str .= "<td class=\"plogitemselectable\">$attachedfiledata[$i]{'filesig'}</td>";
-
$str .= "<td class=\"plogitemselectable\">$attachedfiledata[$i]{'datetime'}</td><td class=\"plogitemselectable\"><a href=\"/cgi-bin/tps/attach_file.cgi?act=search&filename=$attachedfiledata[$i]{'filename'}&conid=$attachedfiledata[$i]{'conid'}&datetime=$attachedfiledata[$i]{'datetime'}\">$attachedfiledata[$i]{'filename'}</a></td><td class=\"plogitemselectable\">$attachedfiledata[$i]{'comment'}</td><td class=\"plogitemselectable\">$attachedfiledata[$i]{'type'}</td><td class=\"plogitemselectable\" align=\"center\"><input type=\"checkbox\" name=\"hidefile\" $attachedfiledata[$i]{'hidefile'} onChange=\"updateHideStatus('<TMPL_VAR NAME=datetime>','<TMPL_VAR NAME=filename>');\"/></td>";
-
$str .= "</tr>";
-
$str .= '</form>';
-
}
well the actual problem is that when I put the below code in Perl I can't see the form and the inside contents. So I wanted another tag . - my $i;
-
foreach $i (0 ..$#attachedfiledata) {
-
$str .= "<form name=\"attach_$attachedfiledata[$i]{'datetime'}$attachedfiledata[$i]{'filename'}\">";
-
$str .= "<tr>";
-
$str .= "<td class=\"plogitemselectable\">$attachedfiledata[$i]{'filesig'}</td>";
-
$str .= "<td class=\"plogitemselectable\">$attachedfiledata[$i]{'datetime'}</td><td class=\"plogitemselectable\"><a href=\"/cgi-bin/tps/attach_file.cgi?act=search&filename=$attachedfiledata[$i]{'filename'}&conid=$attachedfiledata[$i]{'conid'}&datetime=$attachedfiledata[$i]{'datetime'}\">$attachedfiledata[$i]{'filename'}</a></td><td class=\"plogitemselectable\">$attachedfiledata[$i]{'comment'}</td><td class=\"plogitemselectable\">$attachedfiledata[$i]{'type'}</td><td class=\"plogitemselectable\" align=\"center\"><input type=\"checkbox\" name=\"hidefile\" $attachedfiledata[$i]{'hidefile'} onChange=\"updateHideStatus('<TMPL_VAR NAME=datetime>','<TMPL_VAR NAME=filename>');\"/></td>";
-
$str .= "</tr>";
-
$str .= '</form>';
-
}
If you haven't found a fix for this let me know what language you are using, this is the HTML forum.
Aric
If you haven't found a fix for this let me know what language you are using, this is the HTML forum.
Aric
I found a fix.
I used a <div> tag and instead of this.form I used this in the JS function being called.
I found a fix.
I used a <div> tag and instead of this.form I used this in the JS function being called.
Ok great! Glad you got one.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Jeff Marcum |
last post by:
I need to write a query in Access that returns the results of a text field
with the spaces replaced with underscores. So, if the data in the field was
'hello world', the query results would show...
|
by: Markus Wildgruber |
last post by:
Hi!
Is there a substitute in the .NET Framework for the GetKeyState(...)
function? I want to check whether the shift key is pressed. What's the best
way to do this?
Do I have to use...
|
by: malice |
last post by:
I have been searching the internet for 12+ hours on how to do this. At this point I'm about to give up. I am using VB .Net 2.0 with the enterprise library jan 2006 release. This is my first time...
|
by: maxpirate |
last post by:
I have data entry form in access and a save button which checks for validations and throws errors. I want to map this function to the save menu item available in the menubar. How do i do it?
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |