Ensure List/Menu populate my update form with the correct data before update

Hello,
Please how do I ensure my update form is populated with the correct data before update?
On my update page I have text fields and select fields (dynamic list/menu). When I open my profile page to make updates, I see the field well positioned in the text fields but in the select list/menu fields, I see "Select from list" instead of the value that was initiated selected
Correct Values before update
Wrong values during update
As you can see from the images below, when I open the update page, the list automatically populate the select fields with the last values in the list instead of the Initial values that where selected by the user before the update.
Can anyone please review and let me know where I have gone wrong.
Thank you
Mike

Hello All,
Once more thank you. I have sorted the issue out.
I observed that I was selecting the wrong field. I selected the field matching the record set of the select instead of the field matching the record set of the table I am working as seen on the image belew
I was selecting this - This is the record set of the table that hold values for the city select list
Instead of this. This is the record set of the table behind the form I am working on
My issue is now re-solved.
Mike

Similar Messages

  • The document could not be saved. The server said: "The operation failed because an unexpected error occurred. (Result code 0×80020005)" Please ensure you have completed all required properties with the correct information and try again.

    I am having problems  saving documents back to SharePoint when any of the document properties (metadata columns) are set to be "managed metadata". The check-in/save fails with error:
    The document could not be saved. The server said:
    “The operation failed because an unexpected error occurred. (Result code 0×80020005)”
    Please ensure you have completed all required properties with the correct information and try again.
    I have seen similar threads that suggest this is a known issue with this version of Acrobat but I would like conformation from Adobe that this is a known issue and whether it is fixed in a newer version?
    Adobe Acrobat version 10.1.13
    SharePoint 2010

    Hi quodd,,
    We are sorry for the issue being faced by you. I need some information from you so that I take further steps:
    1. Which Adobe product are you using Acrobat or Adobe reader- what is the complete version?
    2. How are you opening and saving the PDF, the exact workflow?
         Are you doing it from within Adobe Reader/Acrobat application or opening it from browser, doing changes and saving it using browser itself.
    3. Can you try to save a PDF to library with Custom template and managed metadata columns using browser directly.
    4. Please verify that columns name do not contain spaces or some other special characters.
       Can you try to save PDF to library with Custom template and just a single managed metadata column  with a simple name
    Thanks,
    Nikhil Gupta

  • Update form not returning correct data selection in dropdown menu

    Using CS3 DW along with SQL 2008 R2. I have a number of dropdown menus on an entry form (using VBScript/ASP) that are feed by SQL queries. All data is accepted in the entry form and writes to the table in the database without any issues. I created an Update form and based on a Rec ID clicked on from a list the Update form is presented with all the data in the correct fields except for one dropdown menu. All the other menus go to the correct selection except for the one. Spent 2 days attempting to resolve this. If I change the dropdown menu to a field the correct data is presented when the form comes up, but doesn't allow the user to make a selection from the menu. When I change it back to a dropdown menu the saved selection is not selected - just lists the entire list of items in the menu. Any help or ideas on this is greatly appreciated.

    Hello All,
    Once more thank you. I have sorted the issue out.
    I observed that I was selecting the wrong field. I selected the field matching the record set of the select instead of the field matching the record set of the table I am working as seen on the image belew
    I was selecting this - This is the record set of the table that hold values for the city select list
    Instead of this. This is the record set of the table behind the form I am working on
    My issue is now re-solved.
    Mike

  • Page is not refreshing with the correct data.

    Hello experts,
    I have an unusual situation and I'm not sure why it is happening. We have 3 instances and the error is occurring in one of them.
    So here is the issue:
    1) I created a custom extended controller for a customer site form to check the character length of address lines 1 and 2.
    2) User creates a new contact under customer site. On the contact creation page, the contact information is entered and click Apply.
    After the contact has been created, the application directs you back to the customer site page.
    3) On the customer site page, the user clicks Apply again. The custom extended controller runs and then it takes you back to the customer site page.
    4) Now the page has some other address that is not in anyway related to the customer.
    5) I checked in the back end and the address is associated to hz_parties.party_id = -1.
    If I remove the custom controller the page refreshes with the correct address information. What I am baffled is that it is only happening in 1 of the 3 instances (all using Release 12.1.3).
    I already asked the dba to bounce middle tier/apache, cleared the cache and it is still having the same issue.
    Anyone have any idea why this is happening?

    Here's the custom controller code:
    package xbol.oracle.apps.ar.cusstd.acctSite.webui;
    import java.io.PrintStream;
    import oracle.apps.ar.cusstd.acctSite.webui.ArAcctSiteOverviewCO;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.Row;
    public class XXF5ArAcctSiteOverviewCO extends ArAcctSiteOverviewCO
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    System.out.println("Running extended controller processRequest......");
    super.processRequest(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    System.out.println("Running extended controller processFormRequest......");
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    String s = oapagecontext.getParameter("event");
    System.out.println((new StringBuilder()).append("Event: ").append(s).toString());
    System.out.println((new StringBuilder()).append("OkButton: ").append(oapagecontext.getParameter("OkButton")).toString());
    if(oapagecontext.getParameter("Save") != null || oapagecontext.getParameter("Apply") != null)
    System.out.println("Start of validation");
    OAApplicationModule AddressAM = (OAApplicationModule)oaapplicationmodule.findApplicationModule("HzPuiAddressAM");
    if(AddressAM == null)
    throw new OAException("Error: Stale Data - The requested page contains stale data. This error could hav" +
    "e been caused through the use of the browser's navigation buttons (the browser B" +
    "ack button, for example)."
    , (byte)0);
    System.out.println((new StringBuilder()).append("HzPuiAddressAM: ").append(AddressAM).toString());
    OAViewObject AddressVO = (OAViewObject)AddressAM.findViewObject("HzPuiLocationVO");
    System.out.println((new StringBuilder()).append("HzPuiLocationVO: ").append(AddressVO).toString());
    if(AddressVO == null)
    throw new OAException("Error: Stale Data - The requested page contains stale data. This error could hav" +
    "e been caused through the use of the browser's navigation buttons (the browser B" +
    "ack button, for example)."
    , (byte)0);
    Row AddressRow = AddressVO.getCurrentRow();
    System.out.println((new StringBuilder()).append("AddressRow1: ").append(AddressRow).toString());
    if(AddressRow == null)
    AddressRow = AddressVO.last();
    System.out.println((new StringBuilder()).append("AddressRow2: ").append(AddressRow).toString());
    String Address1 = (String)AddressRow.getAttribute("Address1");
    String Address2 = (String)AddressRow.getAttribute("Address2");
    System.out.println((new StringBuilder()).append("Address1: ").append(Address1).toString());
    System.out.println((new StringBuilder()).append("Address2: ").append(Address2).toString());
    int length1 = 0;
    if(Address1 != null)
    length1 = Address1.length();
    int length2 = 0;
    if(Address2 != null)
    length2 = Address2.length();
    System.out.println((new StringBuilder()).append("Address length1: ").append(length1).toString());
    System.out.println((new StringBuilder()).append("Address length2: ").append(length2).toString());
    if(length1 > 35 || length2 > 35)
    OAApplicationModule PurposeAM = (OAApplicationModule)oaapplicationmodule.findApplicationModule("HzPuiAccountSiteAM");
    OAViewObject PurposeVO = (OAViewObject)PurposeAM.findViewObject("HzPuiCustSiteUsesVO");
    int BPcount = PurposeVO.getRowCount();
    System.out.println((new StringBuilder()).append("Business Purpose Row Count: ").append(BPcount).toString());
    Row PurposeRow1 = PurposeVO.getFirstFilteredRow("SiteUseCode", "SHIP_TO");
    System.out.println((new StringBuilder()).append("Ship_to row: ").append(PurposeRow1).toString());
    System.out.println((new StringBuilder()).append("Length1: ").append(length1).append(" Length2: ").append(length2).append(" Ship_to row: ").append(PurposeRow1).toString());
    if(PurposeRow1 != null)
    System.out.println("Throwing exception.");
    System.out.println("Before SuperPFR2");
    super.processFormRequest(oapagecontext, oawebbean);
    System.out.println("After SuperPFR2");
    OAException ErrorMessage = new OAException("WARNING: Ship_To sites address lines 1 and/or 2 have more than 35 characters.", (byte)3);
    OADialogPage dialogPage = new OADialogPage((byte)1, ErrorMessage, null, "", null);
    dialogPage.setOkButtonItemName("OkButton");
    dialogPage.setOkButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
    dialogPage.setOkButtonLabel("OK");
    oapagecontext.redirectToDialogPage(dialogPage);
    } else
    System.out.println("SuperPFR3");
    super.processFormRequest(oapagecontext, oawebbean);
    } else
    System.out.println("SuperPFR4");
    super.processFormRequest(oapagecontext, oawebbean);
    System.out.println("End of validation");
    } else
    System.out.println("SuperPFR5");
    super.processFormRequest(oapagecontext, oawebbean);
    public XXF5ArAcctSiteOverviewCO()
    }

  • Uploading videos to iCloud photo library don't appear with the correct date

    When I upload older photos to iCloud photo library beta they appear in the correct date in my "Moments", but when I upload a video it appears under today's date rather than the date the video was actually shot.. wonder if anyone has encountered the same problem?

    Hey ribonucleoside,
    I understand that you are seeing some issues with the behavior of your iCloud Photo Stream on your iOS device. Here is an article for you that will help you address this issue:
    Get help using My Photo Stream - Apple Support
    https://support.apple.com/en-us/HT203511
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • Renaming files in LR5 with the correct date

    I am getting the wrong date when I rename files in LR5. How do I fix it? I hae always used a custom preset
    date (YYYYMMDD)_Custom Text_Sequence #(0001)
    Everything works except the date. What I get is 20130128
    I am using a Nikon Df . I checked the date and time and it is set correctly.
    What should I do?

    If you select one of these "wrongly-dated" photos and look in the Metadata panel (set to display EXIF), what dates do you see listed for Date Time Original, Date Time Digitized and Date Time?

  • Can I insert into a form build in FORMSCENTRAL, a Formula with the numerical data that are updated by a given formula, like in Excel?

    Can I insert into a form build in FORMSCENTRAL, a Formula with the numerical data that are updated by a given formula, like in Excel?

    Hello danna,
    please have a look there as a first step: http://helpx.adobe.com/acrobat-com/formscentral/topics.html  >>> Formula syntax for built-in functions  >>> http://helpx.adobe.com/acrobat-com/formscentral/help/formula-syntax-built-in-functions.htm l
    Hans-Günter

  • Multi-Row Update form with wrapped fields

    Hi,
    I have a multi-row update form with too many fields to fit on the screen without having to scroll. Is it possible to wrap the extra fields onto a 2nd line.
    So each DB record will actually span 2 srceen rows and fit nicely into my browser ??
    Thanks for any help,
    Brandon

    It is possible, but would require some serious work on the report template, to create a custom row template.
    I started to do this at http://htmldb.oracle.com/pls/otn/f?p=24317:191 but realized that it is hard work. Also, where would you show the headings for the second part of the row (split onto the next line)?
    Instead, I would use the Show/Hide columns technique (client-side scripting) to reduce the number of columns shown. Search for it on this forum. Carl and I have some good examples out there.

  • Can I populate a text field in one PDF with the modification date of a different file ?

    Rather convoluted problem here but I'm trying to place a text field on a PDF document that serves as the main menu page for a library of interlinked PDF documents
    The complete library contains over 7,000 files and additions are added and documents changed almost daily.
    We currently use batch files to open the main menu from it's shortcut and this runs a check on a sync log file (.txt) to ascertain when the last time the user synchronised with the server to get the latest copy of the files.
    Between a certain time range they are told how long it has been since they sync'ed and are offered the option to sync before opening, after a prescribed timeframe they cannot enter without synchronising. We use Allways Sync to conduct the file synchronisation with our mother files on our server.
    What I'd like to do is take advantage of Allways Syncs automatic synchronisation options to synchronise on log on and at prescribed idle periods there after.
    This works fine but I'd like the text field on the main menu PDF to say when the last synchronisation took place - easy if the main menu is the last file modified .. just use info.modDate.
    However, the main menu is rarely modified therefore I wish to import the text to populate the text field from a different file.. either by interrogating the other files modifictaion data (though I doubt Acrobat can do this) or by simply importing some text stored in another file (a .txt file?) which has previously been created by batch file commands.
    Any assistance would be greatly appreciated.
    Regards,
    Nifty Styles
    (Norfolk, England)
    P.S.  I'm using Acrobat 8.3.1. Professional on Windows XP (SP3).

    Thank you for all your help above.
    Just to confirm your advice, am I right with the following conclusions? :
    1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
    2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
    Further to that can you just advise on the syntax for accessing the modification date of the other document.
    Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
    var LastSync = "C:\sync\bin\lastsync.pdf";
    var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
    strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
    this.getField("LastSyncDate").value = strMsg;
    If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
    I much appreciate your time to help me ... I'm almost there.
    Kind Regards,
    Nifty

  • RePopulate form with the information what user just submitted.

    I have one form. That form has one submit button. I have to create a new button in that form say call "New button". When user submits that form it will display result page. That result page will have one back button. When I hit back button I can go back to that form again. After I go back to that form when I hit "New Button" the form field will fill up with the information what user just entered before submit. I am using JSP and Struts in my application. This functionality is basically need for the user so that user do not need to entered the same information again.
    Can you please help me what I have to do for that?
    Thank you very much for your help.

    Well, in your program, do you have one Form, or do you create a new Form whenever it's needed (ie, when the program starts up, and when the Back button is pushed from the result page)?
    If you have one Form (which is the best approach in my opinion), then it probably follows this general structure:
    public class Form {
       public Form() {
          // Do some constructor work in here
       public void submit() {
          // This is probably called when the user clicks the Submit button
    }... obviously there's a lot more stuff going on inside the class that I have listed right there, but what I meant by 'storing the values as fields' would actually be really simple to implement.
    A field is:
    either class or instance member variables. non-local variables. Field also includes static final constants. http://mindprod.com/jgloss/fields.html
    In short, it's just a variable stored in your class.
    I'm sure you already have text fields and buttons as fields in your form class, probably like this:
    public class Form {
       private JTextField userNameField = new JTextField("Input User Name Here");
       private JButton submitButton = new JButton("Submit");
    }And if you don't, then you should probably adjust your structure so you do. Anyways, to store the data the user has input, just create Objects to store them.
    public class Form {
       private JTextField userNameField = new JTextField("Input User Name Here");
       private JButton submitButton = new JButton("Submit");
       private String userName = ""; // This is our 'name field.' It is set to whatever is in the userNameField when the submit method is invoked. It is what stores the user's name. In the refresh method, you can set the userNameField's text (via setText) to this value.
       // ...You could make a field for each thing you need to store, such as age, race, eye color, whatever.
    To implement 'storing' and 'using' these fields is also simple. You'd just need to adjust your submit method, and provide a new method that we'll call refresh. Now, by refresh I am not referring to a browser's refresh button which refreshes the page- I just named it refresh because it 'refreshes' our Form with the data the user previously input.
    public class Form {
       public void submit() {
          // Do submittal stuff
          userName = userNameField.getText(); // This line right here ensures that the user's name is 'stored.'
       public void refresh() {
          userNameField.setText(userName); // This line causes the userNameField to be 'refreshed' with the data previously submitted.
       }Hope that helps.

  • XML Forms with Expiring Message Date

    Hi,
      I need to create a XML form with Expiring Message Date i.e the messages should not be visible in the iview after entered expiring date. Kindly let me know how can I achieve this.
    Thanks & Regards,
    Ravi

    Hello Ravi
    This can be achieved through the Time-based Publishing service provided by SAP.  To make sure the service is active for your repository, go to System Administration > System Configuration > Knowledge Management > Content Management > Repository Managers > CM Repository (if that's the kind of repository you're working in).  Then select your repository and make sure that 'tbp' is in the list of Repository Services assigned.  If not, assign that service and restart the portal.
    Then, within KM Content, enter the Details menu of the folder within that repository for which you'd like this service activated, then go to Settings > Lifetime and click the 'Enable Time-Dependent Publishing' button.  This will activate the service for that folder.
    Then in your XML form, you can provide the Lifetime properties "Valid From" and/or "Valid To" to specify when a message should be active, and when it should expire.  At that point, anyone who has read access to that folder would only see the messages that are within these active dates.
    Hope this helps!  For more information, see SAP's <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e8/a9a76828b8dc469969ff450ec81ced/frameset.htm">Lifetime of Documents</a> documentation.
    Cheers,
    Fallon

  • My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • I WANT THE RESULT PAGE OF MY INSERT FORM TO BE AN UPDATE FORM OF THE JUST INSERTED DATA

    I WANT THE RESULT PAGE OF MY INSERT FORM TO BE AN UPDATE FORM OF THE JUST INSERTED DATA USING ADDT. PLS HELP WITH EXMPLE . THANKS

    let me xplain
    i am trying to create a 3  page form. i used the insert form wizard to create the first form and ask the form to go to the next page which i made an update form to continue the next set of fields. i tried what u said...but the next form did not add records to the database as i expected.below is my code for the two pages. pls tell me the best approach..thanks
    page 1
    <?php require_once('Connections/crusader.php'); ?>
    <?php
    //MX Widgets3 include
    require_once('includes/wdg/WDG.php');
    // Load the common classes
    require_once('includes/common/KT_common.php');
    // Load the tNG classes
    require_once('includes/tng/tNG.inc.php');
    // Make a transaction dispatcher instance
    $tNGs = new tNG_dispatcher("");
    // Make unified connection variable
    $conn_crusader = new KT_connection($crusader, $database_crusader);
    // Start trigger
    $formValidation = new tNG_FormValidation();
    $tNGs->prepareValidation($formValidation);
    // End trigger
    // Make an insert transaction instance
    $ins_capital = new tNG_insert($conn_crusader);
    $tNGs->addTransaction($ins_capital);
    // Register triggers
    $ins_capital->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
    $ins_capital->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
    $ins_capital->registerTrigger("END", "Trigger_Default_Redirect", 99, "top.php");
    // Add columns
    $ins_capital->setTable("capital");
    $ins_capital->addColumn("cap_firstname", "STRING_TYPE", "POST", "cap_firstname");
    $ins_capital->addColumn("cap_username", "STRING_TYPE", "POST", "cap_username");
    $ins_capital->addColumn("cap_lastname", "STRING_TYPE", "POST", "cap_lastname");
    $ins_capital->addColumn("cap_dateofbirth", "DATE_TYPE", "POST", "cap_dateofbirth", "{NOW}");
    $ins_capital->addColumn("cap_sex", "STRING_TYPE", "POST", "cap_sex");
    $ins_capital->setPrimaryKey("cap_id", "NUMERIC_TYPE");
    // Execute all the registered transactions
    $tNGs->executeTransactions();
    // Get the transaction recordset
    $rscapital = $tNGs->getRecordset("capital");
    $row_rscapital = mysql_fetch_assoc($rscapital);
    $totalRows_rscapital = mysql_num_rows($rscapital);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wdg="http://ns.adobe.com/addt">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" />
    <script src="includes/common/js/base.js" type="text/javascript"></script>
    <script src="includes/common/js/utility.js" type="text/javascript"></script>
    <script src="includes/skins/style.js" type="text/javascript"></script>
    <?php echo $tNGs->displayValidationRules();?>
    <script type="text/javascript" src="includes/common/js/sigslot_core.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/MXWidgets.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/MXWidgets.js.php"></script>
    <script type="text/javascript" src="includes/wdg/classes/Calendar.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/SmartDate.js"></script>
    <script type="text/javascript" src="includes/wdg/calendar/calendar_stripped.js"></script>
    <script type="text/javascript" src="includes/wdg/calendar/calendar-setup_stripped.js"></script>
    <script src="includes/resources/calendar.js"></script>
    </head>
    <body>
    <p> 
      <?php
        echo $tNGs->getErrorMsg();
    ?>
    <form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
      <table cellpadding="2" cellspacing="0" class="KT_tngtable">
        <tr>
          <td class="KT_th"><label for="cap_firstname">Cap_firstname:</label></td>
          <td><input type="text" name="cap_firstname" id="cap_firstname" value="<?php echo KT_escapeAttribute($row_rscapital['cap_firstname']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_firstname");?> <?php echo $tNGs->displayFieldError("capital", "cap_firstname"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_lastname">Cap_lastname:</label></td>
          <td><input type="text" name="cap_lastname" id="cap_lastname" value="<?php echo KT_escapeAttribute($row_rscapital['cap_lastname']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_lastname");?> <?php echo $tNGs->displayFieldError("capital", "cap_lastname"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_dateofbirth">Cap_dateofbirth:</label></td>
          <td><input name="cap_dateofbirth" id="cap_dateofbirth" value="<?php echo KT_formatDate($row_rscapital['cap_dateofbirth']); ?>" size="32" wdg:mondayfirst="false" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="no" />
            <?php echo $tNGs->displayFieldHint("cap_dateofbirth");?> <?php echo $tNGs->displayFieldError("capital", "cap_dateofbirth"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_sex">Cap:</label></td>
          <td><input type="text" name="cap_sex" id="cap_sex" value="<?php echo KT_escapeAttribute($row_rscapital['cap_sex']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_sex");?> <?php echo $tNGs->displayFieldError("capital", "cap_sex"); ?></td>
        </tr>
        <tr class="KT_buttons">
          <td colspan="2"><input type="submit" name="KT_Insert1" id="KT_Insert1" value="Insert record" /></td>
        </tr>
      </table>
    </form>
    <p> </p>
    </p>
    </body>
    </html>
    Page2
    <?php require_once('Connections/crusader.php'); ?>
    <?php
    // Load the common classes
    require_once('includes/common/KT_common.php');
    // Load the tNG classes
    require_once('includes/tng/tNG.inc.php');
    // Make a transaction dispatcher instance
    $tNGs = new tNG_dispatcher("");
    // Make unified connection variable
    $conn_crusader = new KT_connection($crusader, $database_crusader);
    // Start trigger
    $formValidation = new tNG_FormValidation();
    $tNGs->prepareValidation($formValidation);
    // End trigger
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    mysql_select_db($database_crusader, $crusader);
    $query_rdd = "SELECT * FROM capital ORDER BY cap_id DESC LIMIT 1";
    $rdd = mysql_query($query_rdd, $crusader) or die(mysql_error());
    $row_rdd = mysql_fetch_assoc($rdd);
    $totalRows_rdd = mysql_num_rows($rdd);
    // Make an update transaction instance
    $upd_capital = new tNG_update($conn_crusader);
    $tNGs->addTransaction($upd_capital);
    // Register triggers
    $upd_capital->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Update1");
    $upd_capital->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
    // Add columns
    $upd_capital->setTable("capital");
    $upd_capital->addColumn("cap_firstname", "STRING_TYPE", "POST", "cap_firstname");
    $upd_capital->addColumn("cap_dateofbirth", "DATE_TYPE", "POST", "cap_dateofbirth");
    $upd_capital->addColumn("cap_mobilephone", "STRING_TYPE", "POST", "cap_mobilephone");
    $upd_capital->addColumn("cap_occupation", "STRING_TYPE", "POST", "cap_occupation");
    $upd_capital->addColumn("cap_sumassured", "STRING_TYPE", "POST", "cap_sumassured");
    $upd_capital->setPrimaryKey("cap_id", "NUMERIC_TYPE", "GET", "cap_id");
    // Execute all the registered transactions
    $tNGs->executeTransactions();
    // Get the transaction recordset
    $rscapital = $tNGs->getRecordset("capital");
    $row_rscapital = mysql_fetch_assoc($rscapital);
    $totalRows_rscapital = mysql_num_rows($rscapital);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" />
    <script src="includes/common/js/base.js" type="text/javascript"></script>
    <script src="includes/common/js/utility.js" type="text/javascript"></script>
    <script src="includes/skins/style.js" type="text/javascript"></script>
    <?php echo $tNGs->displayValidationRules();?>
    </head>
    <body>
    <p> 
    <p> 
      <?php
        echo $tNGs->getErrorMsg();
    ?>
    <form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
      <table cellpadding="2" cellspacing="0" class="KT_tngtable">
        <tr>
          <td class="KT_th"><label for="cap_firstname">Cap_firstname:</label></td>
          <td><input type="text" name="cap_firstname" id="cap_firstname" value="<?php echo KT_escapeAttribute($row_rdd['cap_firstname']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_firstname");?> <?php echo $tNGs->displayFieldError("capital", "cap_firstname"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_dateofbirth">Cap_dateofbirth:</label></td>
          <td><input type="text" name="cap_dateofbirth" id="cap_dateofbirth" value="<?php echo KT_formatDate($row_rdd['cap_dateofbirth']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_dateofbirth");?> <?php echo $tNGs->displayFieldError("capital", "cap_dateofbirth"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_mobilephone">Cap_mobilephone:</label></td>
          <td><input type="text" name="cap_mobilephone" id="cap_mobilephone" value="<?php echo KT_escapeAttribute($row_rdd['cap_mobilephone']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_mobilephone");?> <?php echo $tNGs->displayFieldError("capital", "cap_mobilephone"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_occupation">Cap_occupation:</label></td>
          <td><input type="text" name="cap_occupation" id="cap_occupation" value="<?php echo KT_escapeAttribute($row_rdd['cap_occupation']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_occupation");?> <?php echo $tNGs->displayFieldError("capital", "cap_occupation"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_sumassured">Cap_sumassured:</label></td>
          <td><input type="text" name="cap_sumassured" id="cap_sumassured" value="<?php echo KT_escapeAttribute($row_rdd['cap_sumassured']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_sumassured");?> <?php echo $tNGs->displayFieldError("capital", "cap_sumassured"); ?></td>
        </tr>
        <tr class="KT_buttons">
          <td colspan="2"><input type="submit" name="KT_Update1" id="KT_Update1" value="Update record" /></td>
        </tr>
      </table>
    </form>
    <p> </p>
    </p>
    </p>
    </body>
    </html>
    <?php
    mysql_free_result($rdd);
    ?>

  • What is the new thing you can do with photos with the new 5.1 update ???  Can you delete from your photo library directly from the phone ?

    What exactly is the new thing you can do with photos with the new 5.1 update ??  Can I now delete photos from photo library directly on the phone itself??

    I don't think so.  It's an apple mouse that and under the setup menu it's referred to as a Bluetooth mouse
    Sent from my iPad

  • Is anyone having problems with the stock widget not updating?

    Is anyone having problems with the stock widget not updating?

    Widgets unfortunately have gone by the wayside since Apple introduced the App Store a couple years ago.  No widget has received any official recognition in the Apple listing of Widgets since that time.  So it is entirely possible the widget has gotten redirected.   There are many other Apps for stocks.  I personally like the Nasdaq Quote website since it knows mutual funds and other markets as well.

Maybe you are looking for