How to validate a item in page based on previous item in same page

Hi,
I need to know how we can hide items based on page item
ie i have 5  item in same page like weighed(radio button) yes / no if user select yes na it ll automatically enable remaining fields like weight,packing charges, courier charges and net total
and based on packing charges,courier charges, other charges the net charge ll be auto calculated.....
please any one reply asap..
Regards,
Priya

i have  to align the items in single page(form)....
ie i have  to arrange the regions in sequential manner
for example i have x , y , z , a  , b , c , d ,l m  regions
y  and z in horizontal  in first row
b  and c  in vertical  in first column
x and a  in  vertical in second column
d in vertical in third column
l  and m in horizontal  in last  row
y -----------------------  z
b    x
c    a    d
l------------------------m
to achieve this wat i have to do

Similar Messages

  • How to make a tabular form readonly based on an item value

    Hi everyone,
    I am getting there, but I need to make a tabular form read-only based on an item value.
    I've copied this from somewhere (thanks) and changed it for my needs and it works great to set the second column of my form
    to read only.
        var els = jQuery('#Entry_Form input[name="f02"]');
        /*var r = confirm("els is " + els);*/
        els = els.filter(function(index){
          return jQuery(this).val() != "";
        });Just need to set the jQuery selector to jQuery("td[headers='PRODUCT_NAME']"), cos that's my column name.
    also need to give a static id of Entry Form to the form.
    I'll try to understand what this code means exactly one of these days, but now I need to make
    the whole tabular form read only based on a text item, :P5_CONTROL.
    Grateful for any help on this, in the above format if possible. Greek to me but compact and it works.
    Regards.
    Leckraj

    Hi,
    actually, there is no code, just one dynamic action. You may have to change the event which triggers it.
    Event: Change
    Selection Type:     Items(s)
    Item(s): P1_ED     
    Condition: equal to     
    Value: D
    True Action 1
    Action: Disable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id^="f"]
    True Action 2
    Action: Disable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id="check-all-rows"]
    False Action 1
    Action: Enable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id^="f"]
    False Action 2
    Action: Enable
    Fire On Page Load: yes
    Selection Type: jQuery Selector
    jQuery Selector: input[id="check-all-rows"]
    Regards, Garry

  • How is when a button pressed a report will come to the same page !!!

    Hi all,
    I wonder that is it possible to bring a report to the page as a region but only when a button pressed in apex .When ı clicked the go button for example ı want to list a report in the same page.
    but I dont know how .If is this possible can you explain me please.I need help!
    Thanks!

    Create your report in a region as normal.
    Create a second region and in this region create an item eg p171_item.
    In the same region create 2 buttons
    Get Report and Reset (branching back to same page).
    Create 2 page processes (PLSQL) on submit after computations
    1. GET REPORT
    DECLARE
    v_item number;
    Begin
    select 1 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    2.RESET
    DECLARE
    v_item number;
    Begin
    select 2 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    Tie the processes to the buttons.
    On your report region put a condition
    PL_SQL RETURNING BOOLEAN
    IF :P171_ITEM = 1 THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    Now by pressing the buttons the report region is opened and closed.
    Now hide P171_ITEM.
    Gus

  • How to move 1 field from 1 region to another region of same page persnaliz

    dear friends,
    i m geting some problem reagrding the Oracle Apps personalization. i dont have much more knowledge about personalization of OA Framework. i want to change one field from one region to another region of the same page. can u please guide me regarding this.
    as per my knowledge i have to create the new item from personalization and the bind that item with the view object. but i dont know how to that exactly. i m geting problem to find the name of that perticular view which belongs to that perticular field.
    so can u please tell me step by step how to do that, as i m beginer in this modual..
    thanx in addvance
    shailesh

    Shailesh,
    You can hide (Render = false) for first field in 1 region using personalization.
    You can create new item in IInd region and bind with View Object.
    Question : I m geting problem to find the name of that perticular view which belongs to that perticular field.
    Ans : Check the whether you are able to get ViewInstance and ViewAttribute Name from 1 field.
    Thanks, Avaneesh

  • The internet pages don't display properly I'm using osx10.3.3, yahoo for example asks me to update, but I cant find out how to as the apple store just keeps sending back to the same page with no down load option...do i need to up date or is it just my mac

    The internet pages don't display properly I'm using osx10.3.3, yahoo for example asks me to update, but I cant find out how, as the apple store just keeps sending back to the same page with no down load option...do i need to up date or is it just my mac

    What Mac model do you have? You might be able to upgrade the OS to Tiger 10.4 or Leopard 10.5.
    Even browsers for Tiger 10.4 will get the update message.
    You could try a newer browser than Safari, which is obsolete, by downloading Firefox v2.0.0.20 at http://www.oldapps.com/mac/firefox.php
     Cheers, Tom

  • How to cause a button to compute a text field on the same page?

    I have a button called "Generate Hash" and I want to have it compute a text field and display it on the same page with the results of a simple sql query:
    select 'P'||substr(Sys_guid(),1,10) from dual;
    Is this a difficult thing to do?

    Hello Patrick,
    Nope - not hard at all. Create a Process on your page that says:
    :Pxxx_HASH_VALUE := 'P'||substr(Sys_guid(),1,10);
    Then in the Condition portion of the Process, Set the section labeled "When Button Pressed (Process After Submit When this Button is Pressed)" equal to the button you wish to use for the compute.
    Don

  • How do I get pages to show previous entries in a pages table in the new version?

    Working in a table in pages on the new version. I am typing up questions and don't want duplicates, the old version would bring up previous entries that where the same. I can't get it to do that. Please help.
    Thanks.

    It's just one of the many, many features that have been eliminated or changed. Leave feedback for the Pages team using the link in the Pages menu.
    If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09. You can continue to use them to get things done.

  • Accessing form field on a page with JSP code on the SAME page

    Hello people,
    This is what i want to do...
    I need a profile form for my project wherein the user can update his profile.
    it has a username field. I want the username to be changeable at any point of time.
    if the user wishes to change his username he simply goes to the Change_Profile page (the one im talking about) and changes it.
    But the username should not conflict with the username that any other member might have already chosen
    so i put a button on the form right below the field "username" for the user to check for the username's availability.
    I want the following things to happen when the user types a username and clicks on this button (which is not a submit button)
    1. I want to access my MS SQL 2000 server database and check for all usernames accepted by that form
    2. I want to compare each with this username
    3. I want to show the result to the user on the very same page+*. that is "Username available" or "Username Taken"
    4. I want to show the result using an alert message from javascript+*
    help me if u can please.

    1. Don't do SELECT * FROM users for fun unless you want to list them all to the client.
    2. Use a WHERE clause in your query and just check if it returns zero rows or not.
    3. Let the servlet with the business logic forward the request to the same page using RequestDispatcher.
    4. Let the JSP print the Javascript code to the response based on a condition.

  • 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>

  • How to auto fetch the value of item based on remaining columns in same page

    Hi,
    i have 7 items in a same form
    like employee name,employee number ,department,designation,email address and contact address
    if i entered employee number means i need to automatically display the corresponding employee details in other columns
    Please reply asap.............
    Regards,
    Kani

    Hi Scott,
    I got the solution but i assigned the default values for weight,courier charge,packing charge,other charges  and net charges to ZERO...
    and page items to be submited--weight,courier charge,packing charge,other charge..
    If i gave --page items to be submited--weight,courier charge--net charge ll be display with out assigning default values(ZERO) for any item..fr tat wat i have to do...
    Thanks,
    Kani

  • Creating Chart based on a Table in same Pages Document

    Hi
    1. how can  create a chart in a pages document based on an existing table in same document without the need to create a chart then paste the data of table into it ?
    2. if i have a column vales and i copied it how to paste it in the column headers of the editing data window of a chart, i tried and all copied values will be pasted in the cell of one header and i cant select all column headers to paste the values in them ?

    You can't. Charts in Pages rely on their own data table, or can pick up data from a Numbers table.
    You can include column headers and data cells in a single paste, as I did here:
    Select all six cells of the table
    Copy
    insert the chart (or Select the existing chart and click Edit Data in the Chart inspector).
    In the chart's data table (below), click on the first header cell ('B1')
    (Both the header cell and the data cell(s) in that column will be highlighted.
    Paste.
    (Results should be as shown below.)
    Labels (in the left column) can't be included in this paste as the top left cell ('A1') apparently can't be selected. Haven't checked this fully as yet, and no time to do so at the moment.
    Regards,
    Barry

  • Stale data error for a new page (based on an existing native sshr page)

    Without going into too much detail on why I'm doing this, I copied an existing oracle native page, renamed it, and loaded it into the MDS.
    I navigate to the page by creating an extension on a controller to take me to there on a button click. Also on this page, the native page that I copied is also accessible. There is a similar button click to take you to the native page.
    I had a business requirement to create records for the current year (the native page), and records for next year. Using a dff to differentiate between the two types of records was not an option.
    The copied page is used to simply create records. I extended the native controller to default a value behind the scenes (This is how I differentiaing between the current/next year records). The super.ProcessForm/superProcessFormRequest are there as well in this controller. From there, the page is using the same code as the native page that I copied.
    When I click the "Save As Draft", "Apply", "Cancel" buttons, it works fine.
    However, when I click on the "Apply Add Another" button, I'm getting the following error:
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The record with primary key values {13002} could not be found in view object
    AppraisalsAM.ObjectiveEditAM.ObjectivesVO.
    To proceed, please select the Home link at the top of the application page to return to the main menu.
    Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    I've researched this error all day today on prior postings/threads, and I haven't found a posting that is similar to the one that I outlined.
    I wouldn't think I would have to do anything programming wise since this is all native code, and the native page works fine. I'm guessing somewhere the native page is getting reference that is causing this error....
    Any help would be appreciated.
    Thanks

    You could use HIDE/UNHIDE funtionality for page 2
    1) create page 2 with all values ...
    2) on page 1 - add jJavascript to show or hide Page 2 dependin on value
    if (fieldvalue eq "condition") them
    Page2.presence = "visible"
    else
    Page2.presence = "hidden"
    endif

  • How do link form input and a datatable that are on the same page?

    I am real new to JSF, so I'm having the following issue...
    I created a demo app that will pull records from from a database and display them in a datatable. I hava a backingbean for this process that works great with hardcoded data.
    Now, I want to add a form to this page and use the form input to drive the results in the datatable. I have created my form and used a separate backingbean that is essentially a JavaBean for all the form input.
    My question is how do I integrate the submit button from this new form to feed the call that is used for the datatable?
    Here's is a snippet of the pertinent code from the JSP:
    <TABLE border="0">
                   <TBODY>
                        <TR>
                             <TD>
                             <P>Correlation ID:</P>
                             </TD>
                             <TD><h:inputText styleClass="inputText" id="correlationId"
                                  value="#{LogMessageBean.correlationId}"></h:inputText></TD>
                             <TD width="121"></TD>
                             <TD width="153">
                             <P>Workflow ID:</P>
                             </TD>
                             <TD width="158"><h:inputText styleClass="inputText" id="workItemId"
                                  value="#{LogMessageBean.workItemId}"></h:inputText></TD>
                        </TR>
                   </TBODY>
              </TABLE>
              <BR>
              <div align="center">
              <h:commandButton value="Search" actionListener="#{LogValueListHandler.search}" action="#{LogValueListHandler.result}"/>
              <h:commandButton value="Reset" onclick="reset()"/></div>
              <H5>Application Logging Results</H5>
              <t:dataTable value="#{LogValueListHandler.logList}" var="feed"
                   rowClasses="oddrow, evenrow" headerClass="table">
                   <t:column>
                        <f:facet name="header">
                             <h:outputText value="ClassName" />
                        </f:facet>
                        <h:outputText value="#{feed.className}" />
                   </t:column>
                   <t:column>
                        <f:facet name="header">
                             <h:outputText value="MethodName" />
                        </f:facet>
                        <h:outputText value="#{feed.methodName}" />
                   </t:column>
    ...Thanks!

    Locutus_1,
    I'm working on the same sort of app - A data table where the record selected is displayed in a form below the datatable and may be edited and saved.
    I've included a checkbox in the datatable so that the user can indicate which record is to be displayed and edited. The have everything working, except that I cannot get the checkbox click event passed to the backing bean correctly (critical to the entire operation). When I have this working, I'll post the code.
    This solution does not have a direct link between the datatable model and the data handled by the form. The backing bean code does this. If there was a solution where the two could be linked directly via JSF, I'd be very interested in it.
    Werner

  • How do i create a button which will show new content on same page?

    Hello,
    I hope someone can help.
    I have an image; it's a circle with different parts and different colors for each part. I inserted an image in this post.
    I want to be able to make a button out of each part (will do this with Photoshop), BUT i want to have a text shown on the right from the wheel if you click on a particle of the circle. So i don't want it to go to a new page, but i want to have a textframe to pop-up when you click. And when you click on a different part of the circle a new text will occur (and the old one won't show).
    Hope i made my question clear, english is not my motherlanguage so i'm sorry if my sentences are a bit weird.
    Thanks a lot, i hope it can be done with Muse! (This is a big part of the website.)
    best regards, bart

    Hello,
    You can achieve this using a blank compostion widget ot a tooltip widget.
    You would need to use "no fill" for the trigger containers so that they are transparent and then place them onto each portion of the image.
    Now when user clicks on that portion of the image, the trigger above it gets clicked and in a target container you can have the text displayed.
    The only issue here would be that the trigger containers would be of square/rectangular shape so you might not be able place them peroperly to cover all the sections of the image.
    Please refer to the video which might be helpful : http://tv.adobe.com/watch/muse-feature-tour/muse-trigger-target/
    Regards,
    Sachin

  • How do I export 2 picture next to each other on the same page for a before and after effect?( a 2 in one picture)

    Hi,
    This link pretty much sums sup what I want to do Francesco Tonelli PhotographyPortfolio - 35. I have read a lot of blogs explaining that the way to do it is in the print module page. I tried this but when I save the picture, I lose edits and my whites become off brown. Is there a way to just export the pictures as a 2 in 1 format?

    There is not an "Export" option from the Print module, so you need to understand that "Print to JPG" is in fact creating (or 'sending') a new image file somewhere in your computer. You should also have selected all the printing options in the print panels, just as you would if you were printing on your own attached printer.
    When you click on the "Print to File" button, Lightroom should offer you a dialog to save the new (dyptych) image in a folder of your choice with a name of your choice. Note: You must remember where you saved this new image file!
    This new image file will not appear in the Lightroom library, so to have it appear in your Lightroom library you must either use the "Import" module, or the "Synchronize Folder" option-  Locating the new file or folder where you saved it!  Only after this will you see it in Lightroom, where you will now have access to all Export functions to resize, etc.
    If you do not need to see it in Lightroom- there is no need to import it, just use your computer system file finder to locate the JPG file to send, print, email, etc.

Maybe you are looking for

  • Is is possible to change the hourly interval in the weekly calendar in 4.1?

    Hi - using APEX 4.1 and having implemented a SQL calendar. All is working fine, but I would like to change the display of the weekly calendar to show 30 minute intervals, instead of 1 hour intervals. I've look in the template, but don't see any way t

  • How can I convert an xls file to a txt file

    I would like to know How I can convert an xls file to a txt file.

  • Safari no longer loads bookmarks after Leopard installed

    I've recently upgraded to Leopard but since the upgrade I can no longer get to my bookmarks in Safari. I suspected that the file containing the bookmark info may have become corrupt, but after importing the file into Firefox, the bookmarks work fine.

  • MacBook Pro 15 Windows 7 64 Bit Graphics Artifacts

    I have a MacBook Pro 15, Early Spring 2011, on which I installed Windows 7 64 bit Pro via Boot Camp 4.0. I get graphic artifacts almost every time I boot in Windows. An Apple Store tech said when I installed Windows, Apple only had a 32 bit Windows 7

  • CS4 CS5 creativ suite

    Bonjour j'ai TOUJOURS ACHETE MES LOGICIELS ce n'est pas possible je ne vais pas être obligé de craquer des logiciels j'ai CS4 creativ suite j'ai la boite avec mes codes et je serais obligé d'acheter la CS6 pour travailler ????????????????????????????