Cacheing /storing form data from mulitple pages selected from a jump menu

What is the best way or is it even possible to cache /store
info through a series of pages (9 randomly selected from a jump
menu) until the user is done with commenting and is ready to submit
the form.
We are trying some PHP but not very successfully and the
timeline is of course jammed..and this is what the client is
requesting. There is a wireframe of the site dummied up here:
http://www.neo.cat.nebraska.gov/mock_ups/overview.php
log: neou$er
pass: !neoc@t
The intent is that the user will complete this survey by
selecting only the ones they want to comment on and then when they
have completed all the care to they can be done with the survey and
hit submit and it will be sent to the staff member designated to
compile the data.
Any suggestions would be very helpful at this time..
Thanks

This is known as a cascading or dependent dropdown. The problem is that the web page needs to be sent to the browser before anyone can make a selection from the first dropdown. To get the dependent value, another request needs to be sent to the server. You can do this with Ajax.
For example, jQuery makes it relatively simple to work with Ajax. The value selected from the first dropdown is sent in the background as a request to a dedicated script that selects the matching values from the database. Normally, Ajax uses the GET method, so your SQL query would use the $_GET variable to filter the results and send them back to populate the dependent dropdown.
Dreamweaver cannot do it out of the box. You need to script it all yourself.

Similar Messages

  • Reset form data, show records page by page,  disable delete link if 1row

    1. When u click on a Reset button complete form data should be cleared. How to achieve this
    2. I have some of the records displaying data.. i got a delete button from datacontrol opertions tab... I need to disable this delete button when the number or rows displayed is only one. how can i achieve this
    3. After a search criteria is performed i need only 20 records to be displayed showing 1-20 then there should be a link on next which can take me to next page where i need to show the next set of 20 records .. just like the feature we have in gmail

    Hi,
    Try this code:
    // reset all the child uicomponents
    private void resetValueInputItems(AdfFacesContext adfFacesContext,
    UIComponent component){
    List<UIComponent> items = component.getChildren();
    for ( UIComponent item : items ) {
    resetValueInputItems(adfFacesContext,item);
    if ( item instanceof RichInputText ) {
    RichInputText input = (RichInputText)item;
    if ( !input.isDisabled() ) {
    input.resetValue() ;
    adfFacesContext.addPartialTarget(input);
    } else if ( item instanceof RichInputDate ) {
    RichInputDate input = (RichInputDate)item;
    if ( !input.isDisabled() ) {
    input.resetValue() ;
    adfFacesContext.addPartialTarget(input);
    }

  • Submitting a form data to an absolute url from an h:form?

    I am using <h:form> in a jsf file.
    I need to submit this form to an absolute url. How to accomplish this? I cannot do this way (code at commadButton).
    <h:form prependId="false" id="form2">
              <h:panelGrid columns="2">
              <h:outputText value="Applicant Name: "></h:outputText>
              <h:outputText value="#{appbean.applicantName}" id="name"></h:outputText>
              <h:outputText value="AAMC ID" />
              <h:outputText value="#{appbean.aamcId}"></h:outputText>
              <h:outputText value="Applicant EmailId" />
              <h:outputText value="#{appbean.email}"></h:outputText>
              </h:panelGrid><br>
              <h:inputHidden value="3453323242324" id="Identifier"></h:inputHidden>
              <h:inputHidden id="Order_Items" value="0"></h:inputHidden>
              <h:inputHidden id="Order_Price" value="50"></h:inputHidden>
              <h:inputHidden id="Order_Checksum1" value="9233"></h:inputHidden>
              <h:inputHidden id="Order_Checksum2" value="2623423"></h:inputHidden>
                    <h:commandButton action="absoluteurl?" />
                     </fomr>So what I thought was submit the form to a new page "result.jsp" In result.jsp I used response.sendRedirect(). The absolute url will process the form data.Can you please helpppp..

    Hi Sri,
    You will need to have a Show item for the form as the users will need to be able to view the contents of the form.
    Darin's idea for the email is a good one. You should create a group for all the intended recipients of the email and then configure them to receive notification on updates to the directory that you specify your XML forms to point to.
    SAP library has the answers.
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/e5f85dae7d8a49bffd2cbc255197f0/content.htm
    Cheers
    Daniel

  • ALV - refresh data after value is selected from input help

    Hello,
    I have input ALV where after I enter material number and press enter, the logic goes ahead and populates description column by utilizing ON_DATA_CHECK event.
    Is is possible to trigger some kind of event after the value is selected from search help without hitting enter key?
    When the user done with using search help and clicks on material number that he needs, the value is populated in ALV cell, and this is where I need some event trigger to fire the logic to get description without pressing enter.
    Thanks,
    Alex

    Alex, in that case, the alternative you have is to:
    - Create a Z structure where you have all the table fields
    - Bind the Standard DDIC search help to the Material ID (Importing) and the Description (Exporting)
    - Create the whole context node in WD referencing that DDIC structure.
    The important thing here is that the context node as a whole must reference the structure in order for this to work, not just the fields affected. This may not be possible or desirable in certain cases.
    If you do this, the Description will be populated by the SH through its returning parameter, so you wont have to do anything in WD to retrieve it as for the manual input + Enter cases.
    Here you have some help on SHs parameters:
    http://help.sap.com/saphelp_nw70/helpdata/EN/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm
    Hope this helps.
    Edited by: Alejandro Bindi on Sep 19, 2008 12:36 PM

  • "no pages selected from document" when printing

    When I try to print a picture I have selected, it says I have not selected it. Why? I know I am selecting it. It also says it is too big for the paper size which is a 4x6.

    Stephen:
    Regarding the "too big" for paper size issue, you first need to crop it to 4x6 beforehand and then in Page Setup make sure you've got 4x6 borderless selected in the Size menu and the correct orientation, landscape or portrait, selected. Then in the iPhoto print window select Standard Prints-4x6 and 1 photo per page. Also you should have selected your particular printer in both the Page Setup and iPhoto print windows.
    I don't know why iPhoto would not recognize the fact that you've clicked on and selected a photo. Try doing a Revert to Original and then re-crop the photo and then see if the selection is recognized.
    OT

  • Views - SELECT from VIEW and SELECT from the query inside view definition returning different results

    Hi,
    I am facing this weird issue. Any help would be appriciated.
    I have view with the following definition:
    CREATE VIEW [marketing].[OpenedMails]
    AS
    SELECT
    ID_EmailAddress, 
    ID_Date_Opened, 
    ID_Contact, 
    ID_MailSendJobs,
    COUNT(ID_OpenedMails) AS OpenCount,
    CASE
    WHEN ROW_NUMBER() OVER (PARTITION BY CAST(ID_EmailAddress AS VARCHAR(10)) + ' ' + CAST(ID_MailSendJobs AS VARCHAR(10)) ORDER BY ID_Date_Opened) = 1 THEN 1 
    ELSE 0 
    END
    AS UniqueOpenCount
    FROM            
    dbo.Fact_OpenedMails
    where ID_Contact = 382340
    GROUP BY ID_EmailAddress, ID_Date_Opened, ID_Contact, ID_MailSendJobs;
    order by ID_MailSendJobs 
    When I run the the select statement in the view definition I get combination of both 1 and 0 for the 'UniqueOpenCount' column.
    But when I run the select from the view itself using the following query:
    SELECT [ID_EmailAddress]
          ,[ID_Date_Opened]
          ,[ID_Contact]
          ,[ID_MailSendJobs]
          ,[OpenCount]
          ,[UniqueOpenCount]
      FROM [marketing].[OpenedMails]
    I get equal amount of rows but only 0 values for the 'UniqueOpenCount' column which seems to be very weird to me. Why is this happening ? Can anyone help regarding how to solve this ??
    Result from the select inside view definition:
    Result from the select query directly from the view:
    Thanks in advance.
    Vivek Kamath

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You failed. Temporal
    data should use ISO-8601 formats – you failed again. Code should be in Standard SQL AS much AS possible and not local dialect. 
    This is minimal polite behavior on SQL forums. 
    Things like “ID_Date_Opened” are wrong. The affixes “id” and “date” are called attribute properties in ISO-11179 and data modeling. Since a date is a unit of measurement on a temporal scale, it cannot be an identifier by definition. My guess is this would be
    “open_date” if it were done right. And the only display format in ANSI/ISO Standard SQL is ISO-8601 (yyyy-mm-dd)
    An email address of -1?? Email addresses are VARCHAR(256), not numeric. There is no reason to cast them AS string!
    Your vague “mail_send_jobs” is plural, but columns hold scalars and cannot be plural by definition. The partition cause can hold a list of columns: 
    WHEN ROW_NUMBER() 
         OVER (PARTITION BY email_address, mail_send_job 
                   ORDER BY open_date)
         = 1 
    THEN 1 ELSE 0 END 
    This still makes no sense, but the syntax is better. You do not understand how ROW_NUMBER() works. 
    Would you like to try again with proper Netiquette? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Linking to a specific panel from another page and from higher up on same page Spry-UI-1.7

    Hi all,
    I am using Spry-UI-1.7 for a 4 tab tabbed panel on the bottom of my home page.  I'd like to link to the second tab from another page and also from the top of the home page.
    I previously used method: http://foundationphp.com/tutorials/spry_url_utils.php and it worked great.
    Now, with the Spry-UI-1.7 Tabbed Panel "widget", that method isn't working.
    I've reviewed the code from the samples page: http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    but cannot figure out what I am doing wrong.  It shows the following code for linking from another page:
    <a href="#" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>
    I tried this 'as is' and it didn't work. 
    I tried it with index.html in place of the # and it didn't work.
    (e.g.   <a href="index.html" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>   )
    What am I missing here?
    (I have the tabbed panel on "index.html" and want to link from "maps.html" and from the top of "index.html"
    Thanks for any help for this spry newbie! (read: I need it spelled out like I was a 6 yr. old

    This works
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryTabbedPanels2.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryFadingPanelsPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryTabbedPanelsKeyNavigationPlugin.js" type="text/javascript"></script>
    <link href="Spry-UI-1.7/css/TabbedPanels2/SpryTabbedPanels2.css" rel="stylesheet" type="text/css">
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2138522" binding="#TabbedPanels2" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <div id="TabbedPanels2">
      <h2>Tab 1</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sapien lacus, porttitor vitae pretium eget, sodales sed libero. Maecenas non urna lacus, ac sollicitudin justo. Ut erat mi, hendrerit ac accumsan ac, congue eu dui. Pellentesque consectetur condimentum elit, et eleifend urna porta id. Phasellus blandit ullamcorper dignissim. In rutrum, ante non congue fermentum, metus odio bibendum elit, ut congue sapien arcu ac justo. Vivamus sit amet erat nibh, quis dignissim libero. Pellentesque in sapien felis, et volutpat eros. Maecenas adipiscing, eros sit amet placerat cursus, arcu lacus consectetur lectus, non ultricies neque urna laoreet purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
      <h2>Tab 2</h2>
      <p>Nulla facilisi. Vestibulum ipsum elit, tincidunt sed tristique sit amet, faucibus in orci. Nunc sit amet elit lorem. Sed eget arcu ipsum, pharetra ullamcorper lectus. Sed ac diam ac tortor mattis mollis. Etiam mattis felis vel augue tempus in rhoncus ligula elementum. Vestibulum ut iaculis risus. Aliquam erat sem, feugiat vel laoreet in, lobortis non mauris. Vestibulum neque nibh, vehicula eleifend tincidunt sed, bibendum id dolor. Pellentesque quis libero nec orci porttitor faucibus vitae in velit. Pellentesque dignissim sem ut justo interdum id egestas tellus fringilla. Vestibulum tempor, turpis eget dignissim luctus, est erat ultricies turpis, non tempus massa elit in nulla. Sed eu arcu vel enim laoreet hendrerit at vel enim. Integer semper malesuada sem quis porttitor.</p>
      <h2>Tab 3</h2>
      <p>Suspendisse potenti. Proin ut erat sit amet turpis egestas tempor. Integer arcu dolor, aliquam ut egestas nec, pharetra ut mauris. Duis urna mi, aliquam id vulputate et, consequat in dolor. Duis congue sem feugiat nulla malesuada scelerisque. Aenean vitae augue nec diam euismod imperdiet. In accumsan consectetur ante a vestibulum. Phasellus eu nulla et lectus tincidunt porttitor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin mauris massa, venenatis ut fringilla interdum, imperdiet et neque. Sed ut risus metus.</p>
    </div>
    <script type="text/javascript">
    // BeginOAWidget_Instance_2138522: #TabbedPanels2
            var TabbedPanels2 = new Spry.Widget.TabbedPanels2("TabbedPanels2", {
                injectionType: "replace",
                widgetID: "TabbedPanels2",
                autoPlay: false,
                defaultTab: params.tab ? params.tab : 0,
                enableKeyboardNavigation: true,
                hideHeader: true,
                tabsPosition: "top",
                event:"click",
                stopOnUserAction: true,
                displayInterval: 5000,
                minDuration: 300,
                maxDuration: 500,
                stoppedMinDuration: 100,
                stoppedMaxDuration: 200,
                plugIns:[]
    // EndOAWidget_Instance_2138522
    </script>
    </body>
    </html>

  • Leading zeroo in front of kunnr number from kna1 after selecting from kna1

    hi
    i and selecting kunnr from kna1 table which is char 10
    i want to place leading zeros in front of customer number after selection from the table
    pls suggest the way to do so
    also let me know the funtion module to remove leading zeros
    regards
    Arora

    hi
    arora
    first export reuired value to fm
    and get the import value into another intermediate varable
    and pass this intermediate variable to the required select statement where condition
    REPORT  zvcrconversionroutines                  .
    PARAMETERS v_matnr LIKE mara-matnr MATCHCODE OBJECT zmara .
    START-OF-SELECTION.
    SELECT SINGLE matnr FROM mara INTO v_matnr
    WHERE matnr EQ v_matnr.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = v_matnr
    IMPORTING
       output        = v_matnr
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
      EXPORTING
        input         = v_matnr
    IMPORTING
       output        = v_matnr
    IF sy-subrc EQ 0.
    WRITE :/1 v_matnr.
    ELSE.
    WRITE: /2 'invilad material'.
    ENDIF.
    reward for use ful points
    regards
    Nagesh.Paruchuri

  • How do I make a selection on a jump menu open in a "blank" or secondary window?

    Please (anybody) if you can help me with this issue, I would greatly appreciate it!
    I am attempting to use the jump menu form feature in Dreamweaver. Everything in the feature works fine until I get to "Open URLs in: ....". For some reason only the option for "MAIN WINDOW" drops down and not an option for "NEW WINDOW". At this point I have spent way to much time searching for a solution, even to the point of reinstalling Dreamweaver to no avail. Can someone please take a look at my code and tell me how I can alter the code to make each jump menu link items open in a separate (blank) window. I'm not the best with code, but if you tell me exactly where to put each line of code I can do it!
    Again, any help would be greatly appreciated. Trying to meet a deadline and ran into this unexpected issue.
    Here is the link: http://www.graphicmechanic.com/DEKALBCOUNTY/portals/visiting-dekalb/index.html
    Just in case it helps with the explanation of my problem, I've attached an image of what I'm seeing in the DW jump menu window.

    This technote may help:
    http://kb2.adobe.com/cps/161/tn_16166.html
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Acrobat x / Form / email a specific page range from a button

    What is the  simplest way to do the above?

    Extract the page to a temporary file, submit it, close it.
    This is not going to work, though, if the form is going to be used in
    Reader.

  • Pass form data to redirect page?

    This site
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15239
    explains how to do this for VBScript (ASP), but with 8.02 DW
    no longer generates the same code for Record Insert pages. The
    instructions instruct the user to look for this line of code
    If (CStr(Request("MM_insert")) <> "") Then
    and then insert the desired session variable info below.
    However, this line no longer exists, so where do I insert the
    session variable into to get this work. As of now, this is broken.
    Any ideas?

    Bit of a convoluted method that. The easiest solution would
    be to use
    Server.Transfer instead of Response.Redirect. The state of
    the page is then
    maintained.
    Jules
    http://www.charon.co.uk/charoncart
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004

  • How to display URL on PDF copied from web page;Does from Safari browser/Not Firefox

    When I make a PDF document from a web page when in Safari, it automatically puts the URL in with the document but not when I'm using Firefox.

    What is the format of that online document - is it an image, or is it perhaps already a PDF document?  If so, you can right-click on it and save it to your local disk.

  • Where does firefox cache the form parameters to be used in the reload event of a page that was the resposne of a HTTP POST request?

    Suppose there is form in a web page and it submits data in HTTP POST method. After submitting the form, if I reload the page [either by the refresh button or back button; whichever applicable], firefox asks permission to resend the form data by saying "To display this page, Firefox must send information that will repeat any action...". Now if the user clicks on the resend, firefox resubmits the form data.
    So where does firefox store this from data for such future resending/resubmission?
    Is it possible to retrieve/manipulate those stored form data?

    I thought I'd tried that, as tried lots of other things like encoding URL, but obviously not as this works.
    Thanks for the quick reply.
    We also have an issue with the people results not being able to be refined by Department or Job Title now we have connected the SP2010 farm to use the service applications from a SP2013 farm.
    Any ideas on this?  I've started a new thread as its unrelated though:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c89d5463-4531-4a28-9586-1f690c7b580d/can-you-refine-people-search-results-using-a-sharepoint-2013-search-service-application-connected-in?forum=sharepointsearch

  • Create text file from form data

    I need to create a form using dreamweaver and coldfusion. We
    do not have coldfusion server. just Dreamweaver 8. Until we decide
    what application server we will use, I need to create a text file
    each time a user submits data from a form and put the data into a
    text file. What would be the best way to handle this?

    if you do not have an application server like CF or PHP or
    ASP (or
    other) to process your form submissions, you should look for
    a perl/cgi
    script that can do it for you. i remember from awhile ago a
    script
    called bnbform from bignosebird.com ... it is used for
    emailing form
    submissions to a designated email address, but if i remember
    correctly
    it also stored form data in a text file....
    Azadi

  • MySQL:  SELECT * FROM with a Variable from an HTML form

    Hello,
    I would like to insert the variable "find" from the HTML form below in the MySQL "SELECT * FROM" query beneath it.  In other words, where the word "santafe" appears below, I would like to insert the variable "$find."  But I can't quite get it to work.  How do I do it?
    Thanks in advance,
    John
    <form action="tsearch11.php" method="post">
    <label>Enter Topic:
    <input type="text" name="find" size="55"/>
    <input type="hidden" name="searching" value="yes" />
    <input type="submit" name="search" value="Search" />
    </label>
    </form>
    Then, on tsearch11.php:
    <?
    mysql_connect("mysqlv3", "username", "password") or die(mysql_error());
    mysql_select_db("sand2") or die(mysql_error());
    $find = strip_tags($find);
    $find = trim ($find);
    $t = "SELECT * FROM santafe"; 
    $y = mysql_query($t);
    ?>

    Putting a form variable in a SQL query to look for table or column names requires an extra level of security. You need to create an array of the valid names, and check that the form variable is in that array.
    $find = get_magic_quotes_gpc() ? stripslashes($_POST['find']) : $_POST['find'];
    $find = mysql_real_escape_string(trim($find));
    // create an array of valid table names
    $tables = array('santafe', 'sanfernando', 'guadalupe');
    // check that the variable is in the permitted array
    if (in_array($find, $tables)) {
      $t = "SELECT * FROM $find"; 
      $y = mysql_query($t);
    } else {
      $error = 'Sorry, you selected an invalid table.';
    In the page itself, check whether $y exists before using it. Otherwise display the error:
    if (isset($y)) {
      // display the results
    } elseif (isset($error)) {
      echo $error;

Maybe you are looking for

  • ITunes 11 is not syncing my Outlook 2007 calendar on my iPhone 5 on a Windows 7 PC

    ITunes 11 is not syncing my Outlook 2007 calendar on my iPhone 5 on a Windows 7 PC. I have tried a number of things such as: Repairing the outlook.pst file with scan pst.exe. This did not work. Uninstalling all apple software on the PC and then reins

  • Master Data is not appearing in Info Object

    Hi Experts, I have loaded text data from data source 0WS_QUEST_TEXT to info object 0WS_QUEST. While running DTP, Load monitor displays 12 records are added to info object. Also while activating master data it gives error: "Master data for characteris

  • Itunes Freezes During install..Plz HELP

    OK it all started when mt ipod shuffle wouldnt work..so i uninstalled it,and reinstalled it..about 15 tymes.. now when i try it freezes at the(Born to be together Itunes+Ipod)screen..Plzz HELP IDK   Windows XP Pro   XPS dell 400

  • Update payment info in account

    How do I add a new credit card to my account/ID/Whatever . I know it's got to be somewhere in my "manage accounts". Sorry I'm PC only by protest and am half ******** here with this simplest things. Audrey.krostich

  • How do i correct the phone number in iMessage on iPad air

    how do i correct the phone number in iMessage on iPad air