Getting problem in hiding drop down list in jsp pages

Hi All,
I have a jsp in which i created a tabbed panel & put 3 forms .
1 of the form contains 3 drop dwom list & few text boxes.
All 3 forms are inside <div> tags .
Clicking on any one of the tab corresponding form is getting displayed with all its form fields hiding other 2 form fields.
but problem is coming with 1 form having drop down list.
all its field get hidden except these drop down list.
i am using following script to hide other forms
function showit(tab){
    if(tab == "tab1stuff"){
        document.getElementById('tab1stuff').style.zIndex="2";
        document.getElementById('tab2stuff').style.zIndex="1";
        document.getElementById('tab3stuff').style.zIndex="1";
          document.getElementById('tab4stuff').style.zIndex="1";
    else if(tab == "tab2stuff"){
        document.getElementById('tab2stuff').style.zIndex="2";
        document.getElementById('tab1stuff').style.zIndex="1";
        document.getElementById('tab3stuff').style.zIndex="1";
          document.getElementById('tab4stuff').style.zIndex="1";
    else if(tab == "tab3stuff"){
        document.getElementById('tab3stuff').style.zIndex="2";
        document.getElementById('tab1stuff').style.zIndex="1";
        document.getElementById('tab2stuff').style.zIndex="1";
          document.getElementById('tab4stuff').style.zIndex="1";
}Plz help me in this regard.
I used style.visible="false" but that is not working here.
Thanks in advance.

Thanks you very much.
Now I am using javascript
if(tab == "tab1stuff"){
        document.getElementById('tab1stuff').style.visibility="visible";
        document.getElementById('tab2stuff').style.visibility="hidden";
        document.getElementById('tab3stuff').style.visibility="hidden";
        document.getElementById('tab4stuff').style.visibility="hidden";
    } Its working ..Earliar it was PHP script.

Similar Messages

  • Problem in sending drop down list value to jsp page showing  null value

    i am trying to send a drop down list value from client side to a jsp page but getting null value
    this is first page where i have accessed data from database and putted it in a drop down list
    <select name="sub">
         <%
         while(rs2.next())
         cat=rs2.getString(1);
         %><option value="<%=cat%>"><%=cat%></option><%
         }%></select>
    <input type="submit" value="Go"></input>
    now on submit i am going to another page
    where i want the selected value from drop down list to be printed
    i have used there
    <%
    String subject= request.getParameter( "sub.value" );
    out.println(subject);
    %>
    but it is printing null here what is the problem that i m facing
    thanx & reagrds
    sweety

    how to generate dynamically names for text boxes
    i am generating text boxes in while loop when selecting data from database
    while(rs1.next())
    name=rs1.getString(1);%>
    <tr>
    <td>1</td>
    <td><%out.println(name);
    //i am printing here stud_id a unique key and want to update records from following text boxes to particular stud_id
    %></td>
    <td><input type="text" name="????"></input></td>
    <td><input type="text" name="????"></input></td>
    <td><input type="text" name="????"></input></td>
    <td><input type="text" name="????"></input></td>
    </tr><%
    the structure is like
    stud_id | attended theory | conducted theory | ateended practical | conducted practical
    where attended theory, conducted theory............. are to be inputed manually for all students and then update in database
    so i am facing problem in generating names for textboxes how to do that
    so that those can be updated in database for particular student
    Thanx & Regards
    sweety

  • How do I get the location bar drop-down list to show the most recently visited page at the top? I have no idea how it's deciding what to display.

    In IE when you show the drop-down list from the location bar, it show you all of your most recently visited pages in descending order with the most recent at the top. Firefox is showing me a list that I have no idea where it's getting the pages from or how it's ordering them. It doesn't update the pages or the order when I go to a new page. I have recently switched from IE to Firefox and cannot figure out how to get Firefox to do this; very annoying.

    That drop down list doesn't show recently visited pages, but shows list list of most visited sites sorted by what the Mozilla devs call frecency (frequency and recency) and is based on bonus points. It is not possible to have much influence on what shows on that list.
    If you want a list of recently visited sites then you can use a smart bookmark e.g. on the Bookmarks Toolbar with the location set to this smart folder.<br />
    Name: <b>Recently Visited</b><br />
    Location: <b>place:queryType=0&sort=4&maxResults=30</b><br />
    You need to close and restart Firefox to make that folder work as intended.
    * https://support.mozilla.org/kb/Smart+Bookmarks+folders
    See also:
    * http://developer.mozilla.org/en/The_Places_frecency_algorithm
    * http://kb.mozillazine.org/places.frecency.numVisits

  • Problems with populating Drop Down List (WD ABAP)

    Hi,
    I am trying to populate two Drop Down fields CARRID and CONNID (Type Table SPFLI) on an Adobe Interactive Form in a Web Dynpro ABAP Application.
    In the WD Context I have a node "Flights" with those attributes.
    In the WDDOINIT I populate the Context elements (just for test purposes with all entries of SPFLI).
    [code]  
    DATA:
         node_flights                        TYPE REF TO if_wd_context_node,
         elem_flights                        TYPE REF TO if_wd_context_element,
         stru_flights                        TYPE wd_this->element_flights,
         it_flights TYPE TABLE OF spfli.
    SELECT carrid connid FROM spfli INTO TABLE it_flights.
    navigate from <CONTEXT> to <FLIGHTS> via lead selection
       node_flights = wd_context->get_child_node( name = wd_this->wdctx_flights ).
    node_flights->bind_table(
        new_items            = it_flights
        set_initial_elements = ABAP_FALSE
    [/code]
    According to this
    Re: adobe form/reader  error I bound the element values property of the Enumerated Drop Down List to [code]$record.sap-vhlist.CARRID.item[*][/code], whereas <i>Object Text</i> is "Text" and <i>Object Value</i> is "Key".
    Unfortunately the DDLs on the Adobe Form are not populated with the values read from the table. I debugged the application and the values are written to the Context node.
    Do you have any further hints?
    Best regards,
    Robin
    Message was edited by:
            Robin Wennemuth

    Robin:
    Did you get this resolved? Would you please tell me how you got it done?
    Thank you,
    Fred.

  • Problem with InputRender drop down lists

    Basically, everytime i go through a particualar .particular, which initializes several View Objects for displaying various information to the system's user, in all my other .jsp forms, all the drop down lists that i create, loose all the data they should have displayed but one. That is, if they were to display 5 choices, they display only one of them.
    Clearly this is something nobody wants, and i was wondering if anyone has come across this before and if yes, then what would you recommend to me to do?
    Cheers for all you help

    Make sure you upload your spry css file too.

  • Dynamic drop down list in jsp

    Hi -
    I have written a piece of code to dynamically include data in the drop down list after querying the data base. I can print the values using out.print().. but they do not show up in the drop down list. Below is the code -
    Please lemme know the mistake i am committing. Thanks you!
    <form name="browse" method = "POST">
    <select name="uid">
    <%
    //out.write("before vec");
    unit.setCid(user.getCid());
         Vector unitNumbers = unit.getUnitNumbers();
         ListIterator iter1 = unitNumbers.listIterator();
              while ( iter1.hasNext() ){
                   Integer num = (Integer)iter1.next();
    //               out.print(num.intValue());
    //               out.print("Hellooooooooo");
    %>
    <options> <%= num.intValue() %>
    <% }
    %>
    </select>
    </form>

    The correct tag should be <option value="val">Val</option>, like this:
    <form name="browse" method = "POST">
      <select name="uid">
        <%
          unit.setCid(user.getCid());
          Vector unitNumbers = unit.getUnitNumbers();
          ListIterator iter1 = unitNumbers.listIterator();
          while ( iter1.hasNext() )
            Integer num = (Integer)iter1.next();
        %>
        <option value="<%= num.intValue() %>"><%= num.intValue() %></option>
        <% } %>
      </select>
    </form>

  • How to display information from database using drop down list in JSP?

    Hi all.
    Like the tile above suggest, I'm having difficulty in obtaining the data as well as displaying them in a drop down list.
    For example: If i were to have the following in my database:
    SerialNo Food
    1 Bread
    2 Milk
    3 Butter
    The drop down list should look like the following:
    [Bread][\/]
    [Milk]
    [Butter]
    How do i go around coding it in JSP?
    Thanks in advance.
    C.K

    Hai Please try the following code
    You have to make some changes according to your system i am using
    MSSqlserver Driver change the class name and the connection string
    for your need
    <HTML>
    <HEAD>
    <%@ page language="java" import="java.sql.*"%>
    <LINK href="../theme/Master.css" rel="stylesheet" type="text/css">
    <TITLE>ListDrop.jsp</TITLE>
    <%!Connection con;
         %>
    </HEAD>
    <BODY>
    <select>
         <%
              try {
                   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");\\Here you specify the Class Nale
                   con = DriverManager
                             .getConnection(
                                       "jdbc:microsoft:sqlserver://javaserver:1433;DatabaseName=karthi",
                                       "sa", "sa");\\here Connection string
                   ResultSet rs;
                   Statement st = con.createStatement();
                   rs = st.executeQuery("select SerialNo,Food from Foods");
                   while (rs.next()) {
    %>
         <option value='<%= rs.getString("SerialNo") %>'><%= rs.getString("Food")%></option>
         <%
              } catch (Exception e) {
                   e.printStackTrace();
    %>
    </select>
    </BODY>
    </HTML>

  • Dynamic drop down list in jsp,javascript!!

    Hi,
    I want to generate dynamic drop list for country,state & city drop downs.Depends upon the country Id the states have to be list out & depends upon the state & country Id ,i have to get the cities.
    I am using jsp,servlets & javascript & my browser is Iceweseal.It should work in firefox & other browsers also.I want someone guidance for this.I can't use xmlHttp.
    so can any one tell the procedure & tel me the codings for this.
    Itz very urgent...
    Plz help me friends...

    I've answered this countless times before: [http://google.com/search?q=populate+dropdown+balusc+site:sun.com]
    One of the answers: [http://forums.sun.com/thread.jspa?threadID=5370149].

  • How to clear/delete drop down list of web pages visited?

    When I type "www." in the address block, a drop down menu with a long alphabetized list of previously visited websites appears, going back for months. This list is not erased by Clear History or by quitting Safari. Is there any way to clear or delete this list for the sake of privacy? Thanks
    iMac G5   Mac OS X (10.3.8)   Safari 1.3.1 (v312.3.3)

    I use OnyX and have it open at the moment so I can inspect the various panes while I make this reply. It will let you empty browser caches, including the ones for downloads, searches, form values, cookies, bookmark icons as well as the regular cache that holds urls.
    In the Safari section, you can adjust the number of history items and the number of history items in the History menu. Unlike Safari Enhancer, there is no toggle to disable the cache. Most importantly for this topic, there is no toggle for Safari's url autocomplete.
    Just clearing caches and history will not get rid of url autocomplete because autocomplete also uses your bookmarks, plus, the cache and history will refill as you use Safari.

  • The back/forward button no longer has a drop-down list of previous pages visited in that tab: or is this accessible some other way?

    The question says it all, really. I just installed Firefox 4, and noticed a significant (for me) reduction in utility: in the previous version, the back button used to have a drop-down arrow which showed the previous pages visited in a particlular tab, and allowed you to go back several pages in one go, if you wanted to (say, when browsing a series of sites to buy something or other). Firefox 4 no longer has this facility, which I personally found very useful from time to time.
    Is it available by some other means? If not, maybe I should consider reverting to the previous version, which suited me better, in this regard at least.

    Just put the little arrow back into the system. Fix this now. I don't want 2 other options. Get this right for "nontech" people.

  • Drop Down list issues in jsp

    Hi,
    I am facing an issue with drop down list in jsp pages on page postback. Let me explain in detail. I have a client.jsp page which has a drop down list and a text box. The drop down list is populated from an Action class (lets say testAction.java). In the client action form class there is a validation which requires the user to enter some value in the text box.
    So here is the problem, when the client.jsp page loads, the drop down list is populated perfectly, but then the user clicks submit button without entering anything in the textbox, the page loads again with an error message ("Please enter some value in the textbox"). At this point the drop down list does not contain any value. Any ideas what could I do?
    I am posting the code here for individual pieces,
    Struts-config.xml_
    <action path="/client" type="com.myapp.struts.testAction" scope="session">
    <forward name="success" path="/createClient.jsp"/>
    </action>
    <action input="/createClient.jsp" name="ClientActionForm" path="/createClient" scope="session" type="com.myapp.struts.ClientAction">
    <set-property property="cancellable" value="true" />
    <forward name="success" path="/loginSuccessful.jsp"/>
    <forward name="cancel" path="/Welcome.do"/>
    </action>
    index.jsp_
    <h5><html:link action="/client" styleClass="purplelink">Create a new client</html:link></h5>
    testAction.java_
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws Exception {
    ArrayList<String> arrList = new ArrayList<String>();
    arrList.add("sports");
    arrList.add("music");
    arrList.add("test 1");
    arrList.add("test2");
    request.setAttribute("mylist", arrList);
    return mapping.findForward(SUCCESS);
    createClient.jsp_
    <select name="droplist">
    <c:forEach var="itemName" items="${mylist}">
    <option><c:out value="${itemName}" /></option>
    </c:forEach>
    </select>
    <html:text property="clientName" />
    ClientActionForm_
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
    ActionErrors errors = new ActionErrors();
    if (getclientName() == null || getclientName().length() < 1) {
    errors.add("name", new ActionMessage("error.name.required"));
    return errors;
    Here is the process/page flow.
    index.jsp is the first page which is loaded.
    Link on index.jsp calls action="/client"
    This pulls mapping from struts-config and calls testAction.java
    This populates the arraylist and returns to the createClient.jsp page (mapping from struts-config.xml)
    Now createClient.jsp page has two fields (dropdown list and textfield=clientName) and a submit button
    if user clicks submit, clientActionForm is called and does not enter anything into clientName text field, error message is returned.
    At this point, the drop down list in createClient.jsp is not populated and is returned as empty, even though the scope=session in struts-config.xml
    Please provide some inputs on how can I handle this issue.
    Thanks
    Ashish

    I think one solution would be instead of putting the list in the request, but it in your ActionForm.
    Add a field to the ClientActionForm with getters and setters.
    Then change your action.
    ArrayList<String> arrList = new ArrayList<String>();
    arrList.add("sports");
    arrList.add("music");
    arrList.add("test 1");
    arrList.add("test2");
    ClientActionForm frm = (ClientActionForm)form;
    frm.setMyList(arrList);
    return mapping.findForward(SUCCESS);

  • Using getElementById() to get values from drop down list

    Hi, I am using Netbeans to write this program. I have this .java page that gets the url of the HtmlPage from the .properties page. And when this page is opened in the browser, there are drop down lists that have values I want to get from the user when he/she has selected, and save it to a database. I'm actually using mozilla firefox to open this page, and using firebug to inspect the drop down list element.
    I know getElementById is a javascript code, however, my friend told me to use it in the .java page. This is how part of my code looks like. What I'm not sure is how to implement getElementById() and where.
    HtmlPage pageMain =EBPage;
    WebRequest postRequestSettings = new WebRequest(
    new URL(getProperties("trustAdmin")), HttpMethod.POST);
    *// Set the request parameters*
    postRequestSettings.setRequestParameters(new ArrayList());
    postRequestSettings.getRequestParameters().add(new NameValuePair("component", "edit"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("formids", "unixTime,instance,time,description,message"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("page", "Status"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("service", "direct"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("session", "T"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("submitmode", "submit"));
    postRequestSettings.getRequestParameters().add(new NameValuePair("submitname", ""));
    *// Insert instance of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("instance", instance));
    *// Insert content of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("message", message));
    *// Insert description of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("description", description));
    *// Insert time of message here*
    postRequestSettings.getRequestParameters().add(new NameValuePair("time", time));
    *// Convert time to unix seconds*
    postRequestSettings.getRequestParameters().add(new NameValuePair("unixTime", String.valueOf(System.currentTimeMillis() / 1000)));
    HtmlPage newPage1 = pageMain.getWebClient().getPage(postRequestSettings);
    WebRequest requestSettings = new WebRequest(
    new URL("http://www.google.com"), HttpMethod.GET);
    requestSettings.setRequestParameters(new ArrayList());
    requestSettings.getRequestParameters().add(new NameValuePair("page", "Preview"));
    requestSettings.getRequestParameters().add(new NameValuePair("service", "page"));
    newPage1 = newPage1.getWebClient().getPage(requestSettings);
    And I'm told to insert page.getElementById() in the place shown below:
    HtmlPage page = null;
    page.getElementById()_
    *try {*
    *// Login proxy*
    page = (HtmlPage) jsonBrowser.getPage(getProperties("jsonBrowser"));
    String proxyUrl = page.getForms().get(0).getAttribute("action");
    System.out.println("Proxy Url" + proxyUrl);
    WebRequest requestSettings = new WebRequest(
    new URL(proxyUrl), HttpMethod.POST);
    requestSettings.setRequestParameters(new ArrayList());
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_PASSWORD", password));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_PRIVATE_CHALLENGE_STATE", ""));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_REQUEST_ID", ""));
    requestSettings.getRequestParameters().add(new NameValuePair("PROXY_SG_USERNAME", userID));
    *// Get the page*
    page = page.getWebClient().getPage(requestSettings);
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.INFO, "===================================Login in Trust");
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.INFO, page.getWebResponse().getContentAsString());
    *} catch (IOException ex) {*
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.SEVERE, null, ex);
    *} catch (FailingHttpStatusCodeException ex) {*
    Logger.getLogger(postTrustMessage.class.getName()).log(Level.SEVERE, null, ex);
    return page;
    Any help would be greatly appreciated. Thanks.

    I want to value drop down list from seeded page of EBSString picklistvalue = pageContext.getParameter("PickListBeanID"); //PickListBeanID is the ID of the MessageChoiceBean
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • Drop-down list formattedValue returning value, not text

    Hi all,
    I'm having a problem with a drop-down list. I can get the information I want in Reader 9, but we only have Reader 7.0.5 distributed at the moment.
    I need to pull out its text value and its specified value, but everything I try just pulls out the specified value.
    In Reader 9 formattedValue gives me the text and rawValue will give me the specified value.
    Anyone able to help me please?
    Thanks,
    Tom

    Tom:
    It's possible, but complicated. You need to look into the field definition where we store the listbox contents. Then you can correlate the display item from the bound item. I've done this before in another context. I've appended the script I used.
    John Brinkman
    http://blogs.adobe.com/formfeed
    function getDisplayValue(vField)
    var vBoundItems = saveItems(vField);
    var vDisplayItems = dispItems(vField);
    if (vBoundItems == null || vDisplayItems == null)
    return vField.rawValue;
    for (var i=0; i<vBoundItems.length; i++)
    if (vBoundItems.item(i).value == A.rawValue)
    return vDisplayItems.item(i).value;
    return "";
    * saveItems(vField)
    * Get the list of items that are bound to the data
    * @param vField -- the list field
    function saveItems(vField)
    for (var i=0; i<vField.nodes.length; i++)
    var vChild = vField.nodes.item(i);
    if (vChild.className == "items" && vChild.save == "1")
    return vChild.nodes;
    return null;
    * dispItems(vField)
    * Get the list of display items
    * @param vField -- the list field
    function dispItems(vField)
    <items>
    <text>aaa</text>
    </items>
    <items save="1" presence="hidden">
    <text>111</text>
    </items>
    for (var i=0; i<vField.nodes.length; i++)
    var vChild = vField.nodes.item(i);
    if (vChild.className == "items" && vChild.save != "1")
    return vChild.nodes;
    return null;

  • Infopath Drop Down List not showing all items in a list

    I have an Infopath form where I have a vendor drop down and then I filter the product list based on the vendor. The problem is the drop down list is only filtering through the first 100 records. I added a second drop down with the model#'s and no filter and there is only 100 values showing. I checked the All Items view and it is set to display all records. Does anyone know how to fix this?

    Hi all,
    If I want a drop down list in InfoPath (data coming from a SharePoint list) to be in a particular order I query the SharePoint list via this method
    http://blogs.msdn.com/infopath/archive/2007/01/15/populating-form-data-from-sharepoint-list-views.aspx
    You can create a data connection to a particular view in SharePoint - make sure that view is sorted how you want it to be and the item limit is set to 9999.
    You do not need code for this method and it works in browser enabled forms.
    The people picker (which also works in browser enabled forms) http://metahat.blogspot.com/2007/05/people-picker-control-for-infopath-2007.html can help with those of you trying to get a list of users.
    Cheers.

  • Refreshing drop down list in a web template based on a query view

    Refreshing drop down list in a web template based on a query view  
    I have just developed my first set of portal pages displaying the results of Bex queries and query views in the SAP Netweaver portal. I developed the pages using web application designer. Each web template created with W.A.D is using a query or query view. In one template I have that is using a query view I am using a variable in my Bex query. This variable is of type customer exit, is set to variable is ready for input and calls some ABAP code which returns the current fiscal week number and year. When I run the query or query view in isolation through Bex analyzer the variables gets populated correctly. In my web template I have associated my variable from my query view to a drop down list box. However when I run the Iview created from this template the query results get refreshed but my drop down list box does not, it still shows last weeks week number. How do I get the drop down list box to refresh with the latest result from my customer exit variable?
    Regards
    Collin

    Hi  ,
    According to your description, my understanding is that you want to  filter a calendar based a look up column in SharePoint 2013.
    Calendar View not support OOTB filters connection. it is disabled for calendar view, you need to change view(not calendar view) so OOTB filters works and get connected to your view.
    You can achieve this using combination of jQuery and SharePoint OOB techniques.
    For jQuery filters refer to the  blog: enter SharePoint List Filters using jQuery
    Also you can filter Calendar View Web Part using JQuery and SPServices:
    http://blogs.visigo.com/chriscoulson/filter-a-sharepoint-calendar-list-with-a-date-picker/
    http://joshmccarty.com/2011/11/sharepoint-jquery-and-fullcalendar%E2%80%94now-with-spservices/
    http://spservices.codeplex.com/discussions/258846
    Another  way, you can have a look at the SPFilterCalendar :
    http://www.aasoftech.com/SitePages/How%20to%20Filter%20SharePoint%20Calendar%20Dynamically.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for

  • How do i edit photos?

    hi all, new ipod nano-2 gb owner here. can somebody tell me how to edit my photos. i want to delete and or add a photo or two. i would like to keep my i-photo file intact. i don't want to have to try and remember which photos were in it. i would also

  • If my  ipod nano already has music on it but not my account will all my stuff be lost when i sync it to my account

    if my ipod nano already has music on it but not on my new account will all my stuff be lost when i sync it to my new accont and would i still be able to add stuff from the old account to my ipod

  • TO_DATE function issue in Oracle 10g R2

    Hi, This SQL statement works in Oracle 10g R2 env & Oracle 9i R2. SQL>select TO_CHAR(TO_DATE(SYSDATE,'DD/MM/RRRR','NLS_DATE_LANGUAGE = ''AMERICAN'''),'RRRR/MM/DD','NLS_DATE_LANGUAGE = ''AMERICAN''') SYSTEM_DATE from dual; But after changing the sessi

  • Incase of GR with Blocked Stock automatic blocking of MIRO (Vendor Invoice)

    Dear Experts, If we are making a GR with blocked stock, i.e. the material is not open for consumption as this is under inspection, system will not stopping to make vendor invoice against the PO(GR Qty). If the GR is under blocked stock how automatica

  • "loopback" counter output without wiring

    Cross posted from another forum for more visibility: Basically, I have a counter output being generated on a trigger line. It's just a pulse at defined intervals of 1 hz. The problem is, the card that is generating the output needs the trigger itself