Fill in fields on a form based on the value of a list? (Dreamweaver CS5)

Yet once, it has been a while since I've done any work in Dreamweaver. I have two sets of records, rs1 and rs2. Fill a selection area with a dynamic field, rs1. Based on the value of the selection in the list box and use it as a primary key and a database .mdb I want to fill that second record, rs2 and respective fill some additional fields with its dynamic links.

Assuming that everyone can understand what I so badly stated, with a having a few ideas or, better yet, a few examples?

Thank you!

I agree with Nancy that using Access is a bad choice, to answer your question, it seems you want to create a montage cascading down. Dreamweaver is not integrated to manage cascading dropdown lists. You code yourself.

There are two approaches for cascading drop-down lists:

  • Use Ajax to present a second query to the database when the first drop-down list is selected.
  • Store the values of the dependent drop-down list in a table, and use JavaScript to fill in the options in the first drop-down list is selected.

This page of examples of cascading dropdowns: example of DropDownList in waterfall | Kendo UI Dropdownlist demo. A Google search for the cascading drop down list will produce other results.

Tags: Dreamweaver

Similar Questions

  • Toggle controls simple form based on the value of an element

    Is it possible to toggle the controls on simple form based on the value of an element?

    for example, if P21_stat = 1 5 controls behave as type "View as text (saves the State)", otherwise they must be of type "text field"?

    No work around if not?

    Hi Alex,

    Look at the definition of the article page, you will find a 'readonly' section where you can specify a condition that this point should be readonly (in all other cases, it is a normal entry point).

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • How to redirect to assets or form based on the values of database search

    We try to use the database search to determine if a visitor to our Web site already filled out a form.  When they click on an asset (such as a white paper link), we want to use a database search to check if they filled out a form (we are check on the email address and a specific to all our forms required field).  If the database search returns a value, then they are addressed to the asset.  If the data query appears empty, they are directed to a form.  Did anyone tried something like this? I'm interested in how you generated JavaScript code to activate.

    This sounds like the standard "true" eloqua gated form technology, using the eloqua (hidden method, short and long term) cookie-driven. For years, it was only substance without papers and seller and don't has not been fully supported by the tech line. Now it is wide open information here: http://eloqua.blogspot.com/2010/06/gated-forms-asking-for-just-right.html

    This gives a whirl and come back here with all the problems that I have built many of them.

  • Fill in the parts of the form based on the value entered in the first field

    Hello

    I am creating a form where user will enter the serial number of the equipment and I want him to click a button check beside him. When you click on the button check, I want to the Description of the object of the form field to be updated (this info is taken from a MySql DB backend). In addition, the text corresponding to the Site of equipment fields be filled. After reviewing all the information, user should be able to click on a button at the end of the form, and this information must be written in another table. I have attached an Insert record server behavior to the form. Essentially, I want to set a different action on the two buttons on the form. In my opinion it's the same one when we fill the registration form and based on our country, our State drop-down list is filled. It seems that this is doable, but I am not able to figure out how. I'd appreciate any help

    Thank you

    It's very simple if you understand the PHP code. Basically, you give the two buttons of different names and a logic conditional PHP allow you to control what happens. Call a button 'check' and the other 'insert '. If you use the POST method, you control the script like this:

    if (array_key_exists('verify', $_POST) {
      // create a recordset to retrieve the details ready for display
    } elseif (array_key_exists('insert', $_POST) {
      // insert the details in the the new table
    }
    

    If you aren't comfortable coding PHP yourself, the easy way to do it with Dreamweaver server behaviors must use separate sheets. On the first page, simply create a form for the user to enter the serial number. Use the GET method to send the serial number to another page. In the new page, use the parameter of URL containing the serial number to create a recordset to fill the form of insertion. Then apply a server behavior insert record using the POST method to insert the details in a new table.

  • Show/hide subform based on the value of digital field

    Hi all


    I created my first form in LiveCycle Designer, but jammed with coding. Any help would be greatly appreciated.

    In the attached form, based on the value of field digital "number Total points" (calculated from the user of entry), I want two things to happen.

    The 'field' text should display different text depending on the points,

    • Less than 10 points is "beginner."
    • 10-14 is "intermediate."

    and just like that...

    If the total number of points is less than 10, 'Course for beginners' and 'Language' DropDownList must appear.

    Is there a way to do this? I tried posting 'If' 'else' statement, but it does not work. I looked in the previous discussions, but cannot find that anything will be based on the numeric value.

    You are looking for assistance.
    R

    The joint responds to your needs. The JavaScript on the TextField1 calculate event anime.

    Form1. #subform [0]. TextField1::calculate - (JavaScript, client)

    If (NumericField1.rawValue! = 0) {}
    If (NumericField1.rawValue< 10)="">
    DropDownList1.presence = "visible";
    DropDownList2.presence = "visible";
    this.rawValue = "beginner."
    }
    else {}
    DropDownList1.presence = 'hidden ';
    DropDownList2.presence = 'hidden ';
    If (NumericField1.rawValue< 15)="">
    this.rawValue = "middle";
    }
    else {}
    this.rawValue = "";
    }
    }
    }

    Steve

  • I've created a form that uses the value field text to fill the text of another field.  Does not take into account changes

    I've created a form that uses the value field text to fill the text of another field.  However, if I need to change the text, the second field does not update this change.  Instead of reset the form each time, is the Javascript code to update the fields if they have been modified?

    For example I Text1 and Text2.

    When I type in Hello in Text1 I see Hello in Text2.

    Later, if I decide to change to Goodbye Text1, Text2 remains Hello.

    The shape of the hoe can recognize this change?

    Thank you

    Edit: I think I have misunderstood the situation.

    If you want to both fields have the same value, just to give them the same name.

  • Fill a field value based on the value of another field

    Hello
    Could someone tell me what is the problem with the following select statement. For a group of records, trying to fill a field with a value based on the value in another field (problem of status), but the Group of records appears empty just when I put this code in the field.
    Any help would be appreciated
    Thank you


    <? choose:? >
    <? When: IssueStatus = "Open"? >
    <? 1? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "closed"? >
    <? 2? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "Unresolveable? >
    <? 3? >
    <? end when? >
    <? end otherwise? >
    <? end to choose? >

    Use the following syntax.

    
    
    Display 1
    
    
    Display 2
    
    
    Display 3
    
    
    
  • Is there an easy way to filter a 2D table based on the values in two fields?

    Y at - it an easy way to filter a 2D table based on the values of one of the fields. In my attached VI the output array has the following format:

    Ident Frame Type bytes TimeStamp data

    10:57:07.621 3AD00016 POUVEZ 8 0000000000000000 data frame

    10:57:07.622 3AD00017 CAN data frame 8 000005E000000000

    10:57:07.624 3AD00018 POUVEZ 8 0000000003300000 data frame

    10:57:07.625 2DC00000 POUVEZ 8 0000000000000000 data frame

    10:57:07.626 3AD00019 POUVEZ 4 0000030000000000 data frame

    I would like to delete all lines that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the data above the fourth row would be removed. The only way I can see to do this is to form a 1 d table. Is there a better approach?

    Thank you.

    Hi chuck72352,

    After you've sorted your data, you can use the function InRange. Combined with a "search in 1 table D", you get the range you really want.

    Mike

  • Web page open based on the value of the text field

    I want to open a web page that is based on the value of a text field.  How to bind the value of a text field to a command which will open the web page?

    For example, the value of the text field is: 8 t - EXT

    and the web page I want to open when you press a button is: http://hqms/doc.asp?dn=8T-EXT

    As you can see that the 8 t - EXT is something that a person enters the form and is what is needed to open the web page.  The other text in the link of the webpage is always the same.

    Thank you

    Hello

    In the click event of the button, place the following JavaScript code:

    if (TextField1.rawValue !== null) {
         var vURL = "http://hqms/doc.asp?dn=" + TextField1.rawValue;
         app.launchURL(vURL, true);
    }
    else {
         app.alert("Dear user, please put a code in the text field. Thank you!");
    }
    

    You need to change the object references based on your shape.

    Niall

  • Prevent the print page based on the value of the field

    Hello. Is it possible to prevent certain pages to print based on the value of a field in the form?

    Similarly, is it possible to prevent certain pages according to a field value?

    I'm not a JS coder accomplished.

    Windows XP

    LiveCycle Designer ES2

    Thanks in advance

    Gary, NJ

    Hello

    I doubt that your condition if works or not. You can try with the couple of things:

    (1) write the same code in the Textfield output event instead of the current enter event.

    (2) check if the if condition works for value "xyz" or not by means of simple alert.

    If (topmostSubform.Page1.TextField1.rawValue == "xyz") {}
    Page2.presence = 'hidden ';

    App.Alert ("State of the hidden page"); just for testing purposes... Remove it at a later time
    }
    else {}
    Page2.presence = "visible";

    App.Alert ("visible condition to page");
    }

    This will help you know whether or not this condition actually works.

    'Hidden' will do a page hidden as well as it will not print it.

    Hope it should work for you.

    KC

  • Apex 5 schedule: different color based on the value of data field

    Dear Experts,

    I need to have a different color for each record on the calendar based on the value of the data field (eg. category).

    How can I achieve this?

    Thank you!

    See: -.

    You don't have to wait for APEX 5 integration FullCalendar ~ Blog of Doug Gault...

  • Fields hide APEX 4.1 show based on the value of the checkbox/radio

    I'm trying successfully, hide and show fields based on the value of a selected checkbox.  I use a dynamic action, but it does not work.

    I followed the example in the is Oracle Apex 4 enable the following AJAX features? (IE without the written Javascript dev) - stack overflow

    I even tried an option button, but it did not work.  I can not uncheck the option button.  What I am doing wrong?  Thanks for any help you can provide.

    Hello

    For example, the point of view refer Packaged application > application sample database > page 11

    Kind regards.

    GO

  • Create a form based on the procedure

    Hi all

    I am creating a form based on the procedure, but when I entered the name of stored procedure, I got this error:
    Specified procedure could not be found, please choose a procedure name valid store.

    965628 wrote:
    My procedure is in a package.

    How can I prepend package name?

    Like this

    your_package_name.your_procedure_name(parameters);
    
  • ADF Table cell color based on the value of this field

    Dear all,
    I want to create a table for our new application that contains a table that is used to represent the data in a table or matrix format.
    and each cell of the table should be filled with a color of three colors, based on the value belongs to who will for example: (1-8-> green, 9-20 - yellow etc.).
    I don't know how to implement this. Help, please...

    Rognard

    Please post in the subforum that is appropriate for your question.

    http://forums.Oracle.com/forums/Ann.jspa?annID=599

    This blocking thread

  • Redirect to 3 different pages based on the value of the Auto complete field.

    Hi friends,

    I use a "Auto complete field" in a page for research (Apex version 4.0). But I need to get the values of the 3 tables and when you click on the redirection of the value to one of the 3 pages based on the value.

    For example, I have 3 tables. 1 customer 2 Sites 3.Employees. When I enter "c" in the search field, I need to get values of 3 tables in this area "AutoComplete". That is to say, if I have a customer with the name "cusotmer1", "customer2" and the location with the names of "cisc1", "cisc2" and employees with the name "cid1", "cid2"; When I enter "c" in the FQDN of the auto all 6 values must be given in the "AutoComplete" box and clicking on "customer1" / "customer2" need to redirect to the 'customer' page When you click on 'cisc1' / 'cisc2' redirect to 'site' when clicking on "cid1" / "cid2" redirect to the page of the employees. Is there a way to do this. Help, please.


    Kind regards
    NAV

    Net asset value,
    Here is a sample page that uses the code I proposed works fine for me with FF and IE (8.0).

    http://Apex.Oracle.com/pls/Apex/f?p=18:3

    Note: I've added a warning message before being submitted

    This page works by your side?

Maybe you are looking for

  • menu fonts are missing

    Opening FF fonts not displayed, or menus, or in the address bar, or anywhere else! It happened all of a sudden. I tried uninstalling and reinstalling but the problem continued.

  • The source of the page option is missing

    There is no option of page source on the display of the toolbar Firefox version 8.0.1.4341How can I add this option.

  • Streaming of Netflix problem with Airport Extreme

    Hello, I have netflix streaming problems, I have an Apple Airport Extreme that my main router, the problem is that I can access netflix app or website, I chose the title I want to watch that one and then an error message indicates Oops, something wen

  • How to get more bluetooth devices recognized

    I want to play music from my iTunes library on my mini through my Sony amp using bluetooth. But the device does not appear, is not found in the Bluetooth. I can 'discover' the Sony device using bluetooth to my iPad, I know it is detectable. Why not s

  • H8 1414 HP envy. Need more power supply to run a better graphics card

    H8 1414 HP envy. Need more power supply to run a better graphics card. I don't have that power 300 watt need more someone knows a number of room and the place to get one that fits? I know that windows 8 makes it difficult, I am ready to install windo