Checkbox value is backwards

JHeadstart 10.1.3.2.52
Info from Application Definition Editor
Java Type: Number
Display Type: checkBox
Domain : Static values (0,1)
Default Display Value: 0
When I run the app the checked value is 0 and unchecked is 1. I want that reversed.

Then reverse the values in the static domain.
Steven Davelaar,
Jheadstart team.

Similar Messages

  • How to get Checkbox Value from Flex in PHP.

    Hi,
    I need to know how to get a checkbox value from flex in PHP-POST/GET because I don't know what is the value property of a checkbox in flex.
    Please Help.

    Hi,
    It is very simple. Follow the steps below to achieve the solution,
    1. Write a check-box change event to capture the value of the check box. Store this value in a variable(say bolChkSelected:Boolean).
    2. In step 1 you got the value of the check box. Now your aim is to send the value to php. Declare a httpService in your flex application(i think you are aware of using it).Ok..im writing it
    <mx:HTTPService id="sampleService" resultFormat='e4x' url='http://yourdomain/file.php' result='handleResult()' fault='handleFault()'>
    </mx:HTTPService>
    3. Now the actual solution... u need to send the shcStatus in to php..
    Declare an object to hold the data
    var objparameters:Object={};
    objparameters['CheckBoxdata'] = bolChkSelected;
    --in the above line... 'CheckBoxdata' is used as a parameter to php..you shud have the same variable name while accessing in php file also..
    in php file..
    checkboxstatus = $_POST[''CheckBoxdata''];
    echo checkboxstatus
    thats it..

  • Get checkbox values from alv grid

    Hi,
    I'm using the function REUSE_ALV_GRID_DISPLAY and I'm showing a table with a field like a checkbox.
    In USER_COMMAND FORM to get selected values do as follow:
        CALL METHOD REF_GRID->CHECK_CHANGED_DATA.
    And then:
    loop at i_pos (my table) with checkbox eq 'X'.
    endloop.
    The first time I execute the ALV every thing is OK but if I do any action (I use the function 'BAPI_GOODSMVT_CREATE' ...), I refresh the data and I raise the alv again. In USER COMMAND FORM the code is the same and I can not get checkbox values.
    Can someone help me please?
    Thanks and regards.

    Hi,
    Check this
        call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
            it_fieldcat                 = pt_grpfcat[]
            it_excluding                = p_grpexcltab2[]
            is_layout                   = pt_grplayout2
            i_callback_program          = sy-repid
            i_callback_html_top_of_page = p_header
            i_callback_pf_status_set    = v_status_set1
            i_callback_user_command     = f_user_command1
            i_screen_start_column       = 25
            i_screen_start_line         = 5
            i_screen_end_column         = 80
            i_screen_end_line           = 20
            it_events                   = i_events[]
          tables
            t_outtab                    = i_grpoutput.
    form f_user_command1 using p_ucomm type sy-ucomm
                         rs_selfield type  slis_selfield.
      data p_ref1 type ref to cl_gui_alv_grid.
      call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        importing
          e_grid = p_ref1.
      call method p_ref1->check_changed_data.
      case p_ucomm.
        when 'YCNC'.
          leave to screen 0.
       endcase.
      rs_selfield-refresh = c_x.   " Grid refresh  < You need to fill up this
    endform.                                 " F_user_command1
    aRs

  • Retrieving checkbox values from JSP

    In my program I have an 'ADD' form.
    In that form I ask the question "Do you have a car?"
    with a single checkbox for reply.
    The code I use is below.
    Can anyone tell me how to set the checkbox to 'ticked' or 'unticked' in my
    main jsp by sending paramters from the ADD form's checkbox??
    ADD FORM...
    <form action='post' method='servlet/controller?task=addEmployee'>
    <input type'text' name='emplpoyee'>
    <input type='checkbox' name='car' value='true'>
    <input type='submit' name='submit' value='Add'>
    </form>
    Through a class I retrieve the values posted
    public Page doTask() {
    Employees employee = new Employees();
    employee.setName(request.getParameter("name"));
    employee.setCar(Boolean.getBoolean(request.getParameter("car")));
    try{
    String submit = request.getParameter("submit");
    if(submit.equals("Add")){
    model.addEmployee(employee);
    Page nextPage = new Page("/servlet/Controller?task=GetAllEmployeesTask");
    return nextPage;
    This class sends the parameters to my main JSP where
    this information is inserted. ('employees.jsp')
    my name is retrieved so...
    <= employees.getName()>
    how would I retrieve/set a checkbox value

    request.getParameter("car")
    the thing is that the browser will not send unchecked checkbox values. so you can only know it was checked by the presense or absense of the value.

  • Problem with checkbox value and app.settings.getSetting()

    Hello everyone.
    I`ve got a problem with getting saved settings for checkbox.
    Saved settings doesn`t apply on checkbox value.
    It`s strange, but it always "true".
    So here piece of code:
    checkMe = 11;    //any value for the first time running
    if (app.settings.haveSetting("savea", "chck")) {                           
                          checkMe = app.settings.getSetting("savea", "chck");  // get saved value, else 11
                          alert("checkMe = "+checkMe)
                        if(checkMe == 11){
                            checkMe= false;   //if there is no saved settings, checkbox value will be false/ unchecked
                            alert("You run this script first time, so manual value will be 'false'")
                            }else{
                                checkMe = app.settings.getSetting("savea", "chck");     // if saved settings exist, get true or false
         alert("Yes, checkMe will = "+checkMe)       
    win.checkPanel.chkOne.value = checkMe;  /// checkbox value will equal saved checkMe
    var fff = win.checkPanel.chkOne.value;  // string for alert
    alert("aha! but checkbox value is  = " +fff+ "\n Why so?")     // here we`ve got always "true"
    win.checkPanel.chkOne.onClick  = function () {
        var path11 = win.checkPanel.chkOne.value;  //  checkbox value to variable
        app.settings.saveSetting("savea", "chck", path11);  //saving checkbox value
        alert("Saved this value - " + app.settings.getSetting("savea", "chck"))
    win.checkPanel.chkOne.value is always true.
    Can someone exmplain why and how to get rid of this static value?
    P.S. just in case, here is full code:
    function mainFun()
        this.windowRef = null;
    mainFun.prototype.run = function()
        /*----- UI -----*/
              var retval = true;
              var win = new Window("palette", "Check option", [150, 150, 460, 455]);
              this.windowRef = win;
              win.checkPanel = win.add("panel", [25, 150, 285, 265], "Checkbox");
              win.checkPanel.chkOne = win.checkPanel.add("checkbox", [10, 15, 125, 35], "Checkbox One");
              //win.checkPanel.chkTxtOne = win.checkPanel.add('edittext', [140, 15, 230, 35], '');
         win.quitBtn = win.add("button", [110,275,200,295], "Close");
    checkMe = 11;    //any value for the first time running
    if (app.settings.haveSetting("savea", "chck")) {                           
                          checkMe = app.settings.getSetting("savea", "chck");  // get saved value, else 11
                          alert("checkMe = "+checkMe)
                        if(checkMe == 11){
                            checkMe= false;   //if there is no saved settings, checkbox value will be false/ unchecked
                            alert("You run this script first time, so manual value will be 'false'")
                            }else{
                                checkMe = app.settings.getSetting("savea", "chck");     // if saved settings exist, get true or false
         alert("Yes, checkMe will = "+checkMe)       
    win.checkPanel.chkOne.value = checkMe;  /// checkbox value will equal saved checkMe
    var fff = win.checkPanel.chkOne.value;  // string for alert
    alert("aha! but checkbox value is  = " +fff+ "\n Why so?")     // here we`ve got always "true"
    win.checkPanel.chkOne.onClick  = function () {
        var path11 = win.checkPanel.chkOne.value;  //  checkbox value to variable
        app.settings.saveSetting("savea", "chck", path11);  //saving checkbox value
        alert("Saved this value - " + app.settings.getSetting("savea", "chck"))
              win.quitBtn.onClick = function() {
                  win.close();
        win.center();
              win.show();
              return retval;
    if(typeof(mainFun_unitTest) == "undefined") {
        new mainFun().run();

    Played around with different values, combinations...
    Doesn`t work too:
    checkMe = 111;    //any value for the first time running
    if (app.settings.haveSetting("333", "check")) {                           
                          checkMe = app.settings.getSetting("333", "check");
    alert(checkMe);
                    if(checkMe == 111){
                             win.checkPanel.chkOne.value= false;
                            }else{
                                if (checkMe != false){
                                win.checkPanel.chkOne.value= true;
                                }else{
                                win.checkPanel.chkOne.value= false;
    win.checkPanel.chkOne.onClick  = function () {
        var path11 = win.checkPanel.chkOne.value;
        var path12 = path11.toString();
        app.settings.saveSetting("333", "check", path12);
        alert("Saved value - " + app.settings.getSetting("333", "check"))

  • Error while passing checkbox value

    hi,
    i'm passing my checkbox value like this..
    first.jsp
    <%for (l=0;l < row;++l)
    {%>
    <tr>
    <td><input type="checkbox" name="delete<%=l%>" value="<%=tm.getValueAt(l,0)%>"></td>
    <%}%>
    second .jsp i call it as
    int number=Integer.parseInt(request.getParameter("num"));
    System.out.println("in vetcd no"+number);
    for(int i=0; i<number; i++)
    String equid = request.getParameter("delete"+i);
    System.out.println("delete"+i+"equid"+equid);
    but it always prints the value of equid to be null
    can anybody help

    I think maybe the method of your form was wrong.
    Anyway, here are two jsp files for your reference.
    =======1.jsp==========
    <h3>This is 1.jsp</h3>
    <form action="2.jsp" method="post">
    <table>
    <%for(int l=0;l <5;++l)
    {%>
    <tr><td><input type="checkbox" name="delete<%=l%>" value="<%=l%>">Checkbox <%=l%></td></tr>
    <%}%>
    </table>
    <input type="Submit" value="Submit">
    </form>
    ========2.jsp===========
    <h3>This is 2.jsp</h3>
    <%
    for(int i=0; i<5; i++)
    String equid = request.getParameter("delete"+i);
    out.write("delete"+i+", equid"+equid+"<br>");
    %>
    In 1.jsp, if I check on "checkbox2" and "checkbox3"
    I can get result in 2.jsp as
    This is 2.jsp
    delete0, equidnull
    delete1, equidnull
    delete2, equid2
    delete3, equid3
    delete4, equidnull
    Hope this solve your problem.
    Good luck
    Harv

  • Place default checkbox value "in SESSION" on initial page load

    Oracle 11.2
    Apex 4.1
    Desire outcome: Chart renders on inital page load using default value of checkbox in query.
    I have a checkbox with a default (checked) value. It shows checked when the page renders for the first time but the value is not in the SESSION state. I use this value in a query for a chart. I do not want to use a Submit button so I have a dynamic action submitting the value for the checkbox and the chart refreshes as desired when I check and uncheck the box.
    I tried "Fire on Page Load" in the DA Execution Options, as well, but that caused a loop where the page renders and immmediately renders, and immediately renders, etc.
    Is there a declarative solution that submits the current, in this case default, values when the page is loaded? I only need and want the default values used the first time the page is accessed. This is the initial page of the application but I need the same behavior on all pages for the separate checkbox selections found there.
    May God Bless,
    Howard

    Howard (DBA in Training) wrote:
    If I remove the Default Value and add a Before Header page computation for the item with static assignment to
    a:bI get the 2 A/B checkboxes, both checked, and the value is set in session state.If you log in here, you can see it up close and personal!
    http://apex.oracle.com/pls/apex/f?p=21997:3 Login: Dever / Ima9Dever
    The Default Value colon-delimited string must contain the checkbox values, not the labels. In a static LOV the checkbox options are specified as <tt>label;value</tt> pairs. Thus in your checkbox LOV the labels are A/B, whilst the values are a/b. The values are case-sensitive.
    The Default Value should therefore be:
    a:bwhereas you've specified:
    A:BWith the checkbox item LOV Display Extra Values property set to Yes, APEX displays these extra values that are not included in the LOV definition as additional checkboxes. You can see this if you inspect the rendered checkbox elements in the HTML source:
    <input type="checkbox" id="P3_CHECKBOX_0" name="p_v01" value="a">
    <input type="checkbox" id="P3_CHECKBOX_1" name="p_v01" value="b">
    <input type="checkbox" id="P3_CHECKBOX_2" name="p_v01" value="A" checked="checked">
    <input type="checkbox" id="P3_CHECKBOX_3" name="p_v01" value="B" checked="checked">You get the a/b values defined in the LOV, plus the extra A/B values the LOV knows nothing about.
    ==== ) How do you keep it from setting/resetting these values each time the
    page is rendered?  The need is to do it only the very first time?  ( ====Put a Value of Item / Column in Expression 1 Is NULL condition on the Computation. Problem then is that the computation will be run if the user can [legitimately] deselect all of the checkboxes, either leaving you back where you started, or requiring the use of a further item to flag whether it is the really "the very first time" (which I find intellectually deeply unsatisfactory). This may be a sign that the control should really be a radio group that always has one option set, rather than a check box.

  • Insert multiple checkbox values

    Hello,
    I have a basic form with a number of areas that have multiple choice checkboxes. Checkboxes , meaning that one or 3 or none can be selected and they all share the same id/name but of course have differing values.
    I can not find anywhere in the ADDT that allows me to select the checkbox name when I do my insert. I want all the values of each individual checkbox name to be inserted into their respective fields.
    In the Insert transaction wizard I get three types of checkbox values (Yes or No, 1 or 0, or -1 or 0.
    None of those seem to relate to the common occurance of checkboxes with string values, all to be inserting into one specific table field.
    Is it possible or do I need to write some hand code to insert an array?
    Thanks in advance for any help rendered,
    Steve

    Eeeeee.... Now that's an interesting widget.. You create a text field, but then need to create tables in your DB to pull the data to populate the checkbox fields that magically show up from the text field when rendered by the server.. Very interesting. Seems mine have formatting issues:
    http://www.peninsulaequipment.com/phoneAddy.php
    Only the "Screening Media" checkboxes are dynamically generated but for some reason they do not render left justified like the example shown here:
    http://help.adobe.com/en_US/Dreamweaver/9.0_ADDT/help.html?content=ch5_form_controls_33.ht ml#1028650
    Are there workarounds for the formatting problem or known reasons why it does not look like the example?

  • ITS templates - checkbox value not updated

    Hi,
    I am experiencing a problem with checkboxes in my Internet Service (similar to problem described in forum: checkboxes in ITS (again) ).
    The checkboxes are inside a table (step-loop) and is blank by default. If the user selects the checkbox, the value is cleared after user input.
    I executed the dialog program and it is fine.
    The generated service template was modified to accommodate the step-loop. I'm using the SAP_TEMPLATE tags for the WEBGUI look & feel.
    To set the checkbox parameter according to the user's input, should an if-statement be inserted in the code or should I use the parameter "onclick" with a javascript function?
    I inserted an if-statement but it doesn't work.
    Here's my code:
    `SAP_TemplateTableBegin(title="Some title:", type="SAP_WEBGUI")`
    `if ( IT_BEHAV-DESCR.dim > 0 )`
    `repeat with j from 1 to IT_BEHAV-DESCR.dim`
      `SAP_TemplateTableRowBegin(isSelectable="X")`
       `SAP_TemplateTableCellBegin(subtype="NONEDIT1")`   `IT_BEHAV-DESCR[j]` `SAP_TemplateTableCellEnd()`
    <b>   `if (IT_BEHAV-SELECT[j].selected)` checked `end`
       `SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`")` </b>           
        `SAP_TemplateTableCellEnd()`
              `SAP_TemplateTableRowEnd()`
             `end`
           `end`
         `SAP_TemplateTableEnd()`
    If the check on the value of the checkbox is performed within SAP_TemplateSimpleCheckbox tag (e.g. <b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if (IT_BEHAV-SELECT[j].selected)` checked `end`"
    )`</b>  ),
    the checkbox values are still not updated.
    My Business HTML and Javascript is not very good, please help.
    Your assistance will be much appreciated.
    Regards
    Liza-Marie

    Hi,
    I tried
    `if (IT_BEHAV-SELECT[j]=='X')`checked`end`
    but it is still not working. I am not sure <i>where</i> it should be inserted...? I added it inside the checkbox tag as follows:
    <b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if(IT_BEHAV-SELECT[j].selected)` checked `end`")`</b>
    as well as before and after this tag, without results.
    The tag SAP_TemplateSimpleCheckbox has the parameter <i>onclick</i>. I suppose this can be used to call a javascript function to control the checkbox values. I'm currently investigating this option, not that my javascript is any good!
    If the input fields of length 1 is used inside the loop, would it still work like a checkbox? I mean, can the user input any character? Do you perhaps have example code for this?
    Unfortunately I cannot debug on the ITS at this stage since I dont have access to the ITS server and it would take too long to get access or arrange for debugging to be set up.
    Thanks for the help so far!
    Regards
    Liza-Marie

  •      How to remember checkbox values for each image

    The situation is this: i have a horizontal list which i
    populate with images loaded from xml. After i click on any of the
    images, popup windows is displayed with checkbox. The same popup is
    displayed for all of the images after i click on them. I need to
    remember checkbox values (on/off) for each one of the images in
    horizontal list but i don't know how to do that? How can i know
    which one of the images (they are different) inside horizontal list
    i clicked on in the first place?
    thank you

    I am sorry but i don't quite follow you, i am not sure what
    you are saying so i would really appreciate it if you could explain
    it to me a little bit further. I have the following mxml code where
    i define my HorizontalList:
    <mx:HorizontalList height="326" width="935" id="imageList"
    itemRenderer="mx.controls.Image" columnWidth="427" rowHeight="320"
    itemClick="popUpWindow()" backgroundColor="#4A4A4A"
    borderColor="#444242" themeColor="#000000" verticalCenter="166"
    horizontalCenter="0">
    </mx:HorizontalList>
    and following "popUpWindow()" function which i call when
    image in HorizontalList is clicked:
    //previously i populate horizontal list with images from an
    array "slidePathAC"
    imageList.dataProvider = slidePathAC;
    public function popUpWindow():void{
    trace ("\npopUpWindow function")
    var tw:TitleWindow = new TitleWindow();
    tw.showCloseButton = true;
    tw.setStyle("borderAlpha",0.9);
    mx.managers.PopUpManager.addPopUp(tw, MainPanel, true);
    tw.width = 500;
    tw.height = 500;
    mx.managers.PopUpManager.centerPopUp(tw);
    tw.addEventListener("close",removePopUp);
    Thank you very much for your help

  • How to Set CheckBox values in Before Headr Process

    In my Before Header process I read a database table that contains a code field that I would like to use to have my checkbox values checked if the field contains one of the values.
    Example the database file my have "LWR"
    On the form the Check box is
    L - For Loading
    W - For Waiting
    R - Relase
    P - Posted
    J - Job
    .....etc
    So when I read the record for my above example I would like L, W, and R checked.
    What is the best method to do this?
    THanks.

    Are you storing the values with their ":" separators (like 'L:W:R')?  If so, the checkbox code does the transformation logic.  In which case, there is no need to code insertion of the : when populating the checkbox.  No need to remove them before saving the values.
    Howard

  • How to retrieve checkboxes values?

    I am using a few checkboxes
    <form method="post" action="testgetPara.jsp">
    <input name="termcond1" type="checkbox" value="1" id="termcond" checked>
    <input name="termcond2" type="checkbox" value="2" id="termcond" >
    <input name="termcond3" type="checkbox" value="3" id="termcond" >
    <input type ="submit" name ="submit" value ="submit">
    </form>
    and hope to retrieve the "checked" values from these boxes
    so i do this
    <%int i = 0;
    //chkno is used only to retrieve the number of checked checkboxes
    String chkno[] = request.getParameterValues("chkdelbook");
                   //using a while loop to retrieve the value + execute it to the database.
    while (i < chkno.length)
    String isbn = request.getParameter("termcond");//get the specific array item
    out.println(isbn);
    //increment the i counter           
    ++i;
    %>
    but it doesn't seem to be working
    it return me with
    An error occurred between lines: 2 and 16 in the jsp file: /testgetPara.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.0.3\work\localhost\Testing\testgetPara$jsp.java:69: [] can only be applied to arrays. It can't be applied to java.lang.String.
         String isbn = request.getParameter("termcond")[i];//get the specific array item
         ^
    1 error
    this error
    may i know how to solve it?

    but it give me a java.lang.NullPointerException
    i have same id for my checkboxes, different name and
    values for them
    but it just doesnt work.NPE might be because tehere is no parameters named 'hobbies'
    having same ID is not same as having same NAME (see the difference ID vs NAME)
    if you had
    <form>
    <br>java<input type="checkbox" name="hobbies" value="java">
    <br>haskell<input type="checkbox" name="hobbies" value="haskell">
    <br>prolog<input type="checkbox" name="hobbies" value="prolog">
    <input type="submit">
    </form>
    and it would appear something like this:
    java [X]
    haskell[X]
    prolog[_]
    [submit]
    then you could probably write some code for it like this:
    String[] hobbies = request.getParameterValues("hobbies");
    for (int j = 0; j < hobbies.length; j++) {
    %>
    Your hobby is: <%= hobbies[j] %><br>
    <%
    }and it's output would hopefully look somewhat like this:
    Your hobby is: java
    Your hobby is: haskell
    of course i have not tryed that code nore looked methods up from API recently, so it might have some minor bugs.

  • Checkbox values cannot be read on binder

    Hi,
    I have a form which has couple of checkboxes with as shown below.
    <form name="test" action="get">
    <input type="hidden" name="IdcService" value="SUBSCRIPTION_SERVICE">
    <input type="checkbox" name="chk_test" value="1" /> First
    <input type="checkbox" name="chk_test" value="2" /> Second
    <input type="checkbox" name="chk_test" value="3" /> Third
    <input type="submit value="submit" />
    </form>
    I am using this form to submit some values into the content server.
    When the form is posted, on the content server end I am trying to get the values from binder.
    System.out.println(m_binder.getAllowMissing("chk_test")); prints 3 even though i have selected 1&3. This means when i submit the form I have selected the check box 1,3, m_binder understands or gets only the last value on the checkbox group. Not sure if this is the default behaviour.
    I cant use javascript to club the checkbox values into one hidden variable and send it to the binder as the implementation i am trying has javascript disabled browsers and i want server side validation to happen.
    Any idea why is this happening and is there any solution to over come this.
    Regards,
    S.

    Hey S.
    It looks like the issue you are having is that the 3 checkbox fields are all the same name. When the form submits it will only send the value for the last field with a particular name on the page.
    The other trouble with checkboxes is that if they are not checked then their name isn't even passed in the request.
    To get your code working try something like this:
    <form name="test" action="<$HttpCgiPath$>" method="get">
    <input type="hidden" name="IdcService" value="SUBSCRIPTION_SERVICE">
    <input type="checkbox" name="chk_test_1" value="First" /> First
    <input type="checkbox" name="chk_test_2" value="Second" /> Second
    <input type="checkbox" name="chk_test_3" value="Third" /> Third
    <input type="submit value="submit" />
    </form>
    Then in your java code:
    List selectedItems = new ArrayList();
    for(int i=1; i<4;i++)
    String temp = m_binder.getLocal("chk_test_"+i);
    if(temp != null)
    selectedItems.add(temp);
    //do something with selectedItems
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >

  • Set xtype Checkbox Values

    Hello,
    I want to add a checkbox to a component's dialog box but would like the true/false event to store different values, e.g., "yes/no", "0/1" or "fred/tom" instead of "true/false".
    How do I do this?

    In html you never get Unchecked checkbox values Or you need to verify for null instead of tom.   Alternatively you could use radio. 
    http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Ext.form.Radio

  • Passing Multiple Checkbox Values Help

    Brand new to Coldfusion and I'm struggling to figure out how to pass values from multiple checkboxes on a form to a confirmation page and then an action page that inserts the data. The confirmation page will simply show their selections and allow them to go back and reselect, or submit to the action page.
    Form > Confirmation Page > Action
    I've found a couple of examples on the Web that mention looping, and one that said to use a WHERE IN clause but I'm lost on how to pass it through and insert at the end. Maybe the confirmation and action can be on the same page?
    Questions:
    1. Is it better to name all of the checkbox values the same or append some type of extra character and then evaluate at the end?
    2. Do I need to have hidden fields on the confirm page to transfer the data inbetween the form and action page?
    3. Can the confirmation and action be on the same page or should they be separated?
    4. What should the Query/Insert statement look like on the action page?
    I'm looking to see a basic example of code from start to finish, any help is greatly appreciated as I'm in learning mode.
    Thanks

    kittlez wrote:
    Ok so I know how to pass everything to the second page. I'm guessing I need hidden fields on that second page to go through to the last page where I insert the records...correct?
      That is one way to do it.  But one might also want to look into session variables if they have not been considered.
    When I've tried to do this I end up with something like this item1,item2,item3 all together which the database will not accept. How do I write the multiple values to the database so they are considered to be separate records.
    item1,item2,item3 is what you are supposed to get according to the HTTP protocol standard.  To insert that into a database you just need to recognize that you are getting a list and use ColdFusions list handling functions and tags to help you iterate through the list and do what you need to do with the data.
    This is a very hand code snippet for this type of work:
    <cfloop list="#listVariable#" index="aVar">
      #aVar# will equal one list item.
    </cfloop>

Maybe you are looking for

  • Add one field in standard report

    Hi all, I want to add one field in the standard report WS_MONITOR_OUTB_DEL_FREE. For this I didn't find any User exit or BADI? What is the procedure to add the field in the standard report regards, Rama

  • Command links in h:datatable not working

    I have some command links in h:datatable which are not working. When I click the command link all I get is a referesh page(same page is displayed with datatable values as null). But when I put command link outside h:datatable, the navigation takes pl

  • I have an eMac OS 10.5.6. I want to download Firefox 3.0 but cannot find it - I have FF 2.0

    See subject line. I had FF 3.0 but I had to re-install OS 10.5.6 and I lost Firefox 3.0 Now I want to re-install it.

  • Abap in hr what must i do?

    hi, what about the role in hr part as abap programmer (i.e what is my job in this part ) plz help. thanks, Diwakar.

  • Change of email name on iCloud email

    Hi I have recently got married and so my surname has changed.  I have managed to change my name in my settings but this hasn't effected the actual email address. Can I change my actual email address to be my new surname  e.g. [email protected] to [em