Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6814757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:43:34+00:00 2026-05-26T20:43:34+00:00

As I mentioned in the topic, even-though I have set the style to not

  • 0

As I mentioned in the topic, even-though I have set the style to not display a particular part of the code given below, it still appears on the page. Should I be including the part of the code in a separate table? Please give your suggestions on what the problem could be.

<div id="submit">
<table
    style="font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif"
    ; border="0" cellpadding="5" cellspacing="0" align="center">

    <form id="frm" name="frm" action="http://app1/submitProxy.php"
        method="POST" enctype="multipart/form-data">
        <tr>
            <th colspan="2" bgcolor="#004276"><font color="white">
                    Submit a File 
            </th>
        </tr>
        <tr>
            <td>File:</td>
            <td><input name="upfile" type="file" value="">
            </td>
        </tr>
        <input type="hidden" name="email" readonly="readonly"
            value="<%=user.getUserName()%>" /> <input type="hidden"
            name="reanalyze" value="true" />
        <tr>
            <td>Case or Reference Number:</td>
            <td><input type="text" name="caseno" value="${caseno}" /></td>
        </tr>
<%--            <tr>
            <td>Date acquired:</td>
            <td><input type="text" name="acq" id="acq" readonly="readonly"
                value="${document.frm.acq}" /><strong><a href="#"
                    onclick="cal1.select(document.frm.acq,'anchor1','MM/dd/yyyy'); return false;"
                    title="cal1.select(document.frm.acq,'anchor1','MM/dd/yyyy'); return false;"
                    name="anchor1" id="anchor1"><font face="Helvetica,sans-serif">
                            SELECT</font> </a> </strong></td>
        </tr>
        <tr>
            <td>Type of system acquired from:</td>
            <td><input type="text" name="systemAcquired"
                value="${systemAcquired}" /></td>
        </tr> --%>
        <tr>
            <td>Obtained via:</td>
            <td></td>
        </tr>
        <tr>
            <td><dd>Search Warrant:</dd></td>
            <td><input type="checkbox" name="searchWarrant"
                onclick="showhidefield()" value="Y">
            </td>
        </tr>
<div id='hideablearea' style='display: none;'>
    <tr>
            <td>Search Warrant Number:</td>
            <td><input name="searchWarrantNumber" type="text"
                value="${searchWarrantNumber}" /> <br />
            </td>
        </tr>
        <tr>
            <td>Jurisdiction:</td>
            <td><input name="jurisdiction" type="text"
                value="${jurisdiction}" /> <br />
            </td>
        </tr>
        </div>
    <tr>
        <td><dd>Grand Jury:</dd></td>
        <td><input type="checkbox" name="grandJury" value="Y"
            onclick="checkGrandJury()">
        </td>
    </tr>
    <tr>
        <td><dd>Found in the wild:</dd>
        </td>
        <td><input type="checkbox" name="foundInTheWild" value="Y"
            onclick="checkFoundInTheWild()">
        </td>
    </tr>
    <tr>
        <td><dd>Email:</dd></td>
        <td><input type="checkbox" name="obtainedEmail" value="Y"
            onclick="checkObtainedEmail()">
        </td>
    </tr>
    <tr>
        <td><dd>Other:</dd></td>
        <td><input type="checkbox" name="obtainedOther" value="Y"
            onclick="checkObtainedOther()">
        </td>
    </tr>
    <tr>
        <td>Environment:</td>
        <td><select name="sandboxes[]" size="1">
                <option value="00-0C-29-CF-B8-A6">VMSB1 - Windows 7</option>
                <option value="00-0C-29-0A-AB-9A">VMSB2 - Windows XP</option>
        </select>
        </td>
    </tr>
    <tr>
        <td>Comments:</td>
        <td><textarea name="notes">Add comments here...</textarea><br>

        </td>
    </tr>
    <td colspan="2">
        <center>
            <input type="submit" name="button" value="Submit"
                onclick="onSubmit()" />
        </center>
    </td>
    </form>
</table>
</div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:43:35+00:00Added an answer on May 26, 2026 at 8:43 pm

    Thank you for you help. I was for some reason not able to use any of your ideas. But, I found a work-around to it. I used a drop down menu for selecting the “obtained via” option. And since I wanted extra fields only when I select search warrant, I did something like the following:

    <jsp:include page="template-header-menu.jsp" />
    
    
    
    <script type="text/javascript">
    
    function showFields(num){
        container = document.getElementById('field1GoHere');
        container.innerHTML = '';
    
        if(num == 1){
             container.innerHTML += '<td>Search Warrant Number:</td><td><input name="searchWarrantNumber" type="text" value="${searchWarrantNumber}" /></td>';
        }
        container = document.getElementById('field2GoHere');
        container.innerHTML = '';
    
        if(num == 1){
             container.innerHTML += '<td>Jurisdiction:</td><td><input name="jurisdiction" type="text" value="${jurisdiction}" /></td>';
        }
    
    }
    
    .
    .
    .
    .
    .
    
    </script>
    
    <div id="submit">
    <table
        style="font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif"
        ; border="0" cellpadding="5" cellspacing="0" align="center" width=450>
    
        <form id="frm" name="frm" action="http://app1/submitProxy.php"
            method="POST" enctype="multipart/form-data">
    .
    .
    .
    .
    .
    .
    .           <tr>
                <td width=450><font face="Helvetica,sans-serif">Obtained
                        via:* </font>
                </td>
                <td><select onchange="showFields(this.options[this.selectedIndex].value)">
                     <option value="0">Choose:</option>
                    <option value="1">Search Warrant</option>
                    <option value="2">Grand Jury</option>
                    <option value="3">Found in the wild</option>
                    <option value="4">Email</option>
                    <option value="5">Other</option></select>
                </td>
            </tr>
            <tr id="field1GoHere"></tr>
            <tr id="field2GoHere"></tr>
    
        <tr>
        <td colspan="2">
            <center>
                <input type="submit" name="button" value="Submit"
                    onclick="onSubmit()" />
            </center></td>
        </form>
    </table>
    </div>
    <jsp:include page="template-bottom.jsp" />
    

    Thus on selecting the drop down menu, the the options I wanted to hide appear and I didn’t have to use the “display:none” at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My below mentioned code still submits form on special character in name field. Validation
I got below mentioned code for adding my application to Windows Firewall Exception list.
As i've mentioned in topic. I have WCF Rest Service, and ASP.NET MVC3 client.
I have search for the topic mentioned above but I didn't find good satisfying
As mentioned in topic, I have some Views, e.g. a TableRow with always the
Joel mentioned counting the number of set bits in a byte as a programming
Below mentioned is my XML, <?xml version=1.0 encoding=utf-8?> <soap:Envelopexmlns:soap=http://schemas.xmlsoap.org/soap/envelope/xmlns:xsi=http://www.w3.org/2001/XMLSchema-instancexmlns:xsd=http://www.w3.org/2001/XMLSchema> <soap:Body> <Response xmlns=http://tempuri.org/> <Result> <mp_response>
UPDATE: I should have mentioned in the original post that I want to learn
I am aware that a thousand and one questions relating to this topic have
I have been tweaking Ruby code on sonar 2.13.1 for a couple of days.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.