Need help with Automatic Generating Form Numbers

Hello,
I am new to all this and have found myself stuck trying to figure out how to have my forms automatiacally generate a new number each time it is used. I tried looking through similar posts but do not understand the directions given there. If someone could help me figure this out I would really appreciate it. Thank you.

Before opening my forms for responses I am creating a column with my starting form number - 1.  in the cell above(first response) I am setting an equation =B2 +1.  All incoming responses automatically generate an ID number within my responses table.  The form itself will not present the number, but if you were looking for an easy way to track responses w/ an ID it has worked well for me so far.

Similar Messages

  • Need help with PHP contact form

    Hi guys,
    I've made a PHP contact form for my site and need help with a couple of things:
    The form action links an external PHP script (scripts/contact-form-script.php) but is there a way I can have it so the PHP script for the form is contained within the same PHP file as my contact form (contact.php)?
    I tried just putting the form code at the top of contact.php but the browser automatically reads the anti-spam re-direct, so maybe that needs revising too?
    The second thing is, how can I make the Name, Email and Message fields mandatory? So if a user tries to submit the form and hasn't filled in one of the required fields and clicks submit, contact.php reloads with a message at the top of the form saying something like 'Complete the required fields' and highlights the relevant field with a red border?
    Here's the code for contact.php:
    <form action="http://www.mydomain.com/scripts/contact-form-script.php" method="post" name="contact" id="contact">
    <p><strong>Name:*</strong><br />
    <input name="name" type="text" class="ctextField" /></p>
    <p><strong>E-mail:*</strong><br />
    <input name="email" type="text" class="ctextField" /></p>
    <p><strong>Telephone:</strong><br />
    <input name="telephone" type="text" class="ctextField" /></p>
    <p><strong>Company:</strong><br />
    <input name="company" type="text" class="ctextField" /></p>
    <p><strong>Address:</strong><br />
    <input name="address1" type="text" class="ctextField" /></p>
    <p><input name="address2" type="text" class="ctextField" /></p>
    <p><strong>Town:</strong><br />
    <input name="town" type="text" class="ctextField" /></p>
    <p><strong>County:</strong><br />
    <input name="county" type="text" class="ctextField" /></p>
    p><strong>Postcode:</strong><br />
    <input name="postcode" type="text" class="ctextField" /></p>
    <p><strong>Message:*</strong><br />
    <textarea name="message" cols="55" rows="8" class="ctextField"></textarea></p>
    <p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    </form>
    And this is the PHP I'm using to submit the form data for contact-form-script.php:
    <?php
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $to = "[email protected]";
    $subject = "Contact from website";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
            $message= '
                <table cellspacing="0" cellpadding="8" border="0" width="500">
                <tr>
                    <td colspan="2"></td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td width="154" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Name</strong></td>
                  <td width="314" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$name.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>E-mail address:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$email.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Telephone number:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$telephone.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Company:</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$company.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Address</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address1.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address2.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Town</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$town.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>County</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$county.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Postcode</strong></td>
                  <td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$postcode.'</td>
                </tr>
                <tr bgcolor="#eeeeee">
                    <td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Message</strong></td>
                </tr>              
                <tr bgcolor="#eeeeee">
                    <td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$message.'</td>
                </tr>              
                <tr><td colspan="2" style="padding:0px;"><img src="images/whitespace.gif" alt="" width="100%" height="1" /></td></tr>
             </table>
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mydomain.com/sent.php' ) ;
    ?>
    Any help on this would be greatly appreciated.
    Thank you and I hope to hear from you!
    SM

    Revised code with form validation for Name Email and Message:
    <?php
    if (array_key_exists('submit', $_POST)) {
        $name = $_POST['name'];
        $email = $_POST['email'];
        $telephone = $_POST['telephone'];
        $company = $_POST['company'];
        $address1 = $_POST['address1'];
        $address2 = $_POST['address2'];
        $town = $_POST['town'];
        $county = $_POST['county'];
        $postcode = $_POST['postcode'];
        $formMessage = $_POST['message'];
    if (empty($name)) {
                                                $warning['name'] = "Please provide your name";
    if (empty($email)) {
                                                $warning['email'] = "Please provide your email";
    if (empty($formMessage)) {
                                                $warning['message'] = "Please provide your message";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $to = "[email protected]";
    $subject = "Contact from website";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
            $message= "
    <table cellspacing='0' cellpadding='8' border='0' width='500'>
                <tr>
                    <td colspan='2'></td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td width='154' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Name</strong></td>
                  <td width='314' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$name."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>E-mail address:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$email."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Telephone number:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$telephone."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Company:</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$company."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Address</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address1."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address2."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Town</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$town."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>County</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$county."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Postcode</strong></td>
                  <td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$postcode."</td>
                </tr>
                <tr bgcolor='#eeeeee'>
                    <td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Message</strong></td>
                </tr>              
                <tr bgcolor='#eeeeee'>
                    <td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$formMessage."</td>
                </tr>              
                <tr><td colspan='2' style='padding: 0px;'><img src='images/whitespace.gif' alt='' width='100%' height='1' /></td></tr>
             </table>
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    if (!isset($warning)) {
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mydomain.com/sent.php' ) ;
    ?>
    <!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>
    <style type="text/css">
    p {
        margin: 0;
        padding: 10px 0 0 0;
    .warning {
        color:#C00;
    </style>
    </head>
    <body>
    <form action="" method="post" name="contact" id="contact">
    <p><strong>Name:*</strong><br />
    <input name="name" <?php if (isset($warning['name'])) { echo "style='border: 1px solid #C00'"; } ?> type="text" class="ctextField" />
    <?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['name']."</p>"; }?>
    </p>
    <p><strong>E-mail:*</strong><br />
    <input name="email" <?php if (isset($warning['email'])) { echo "style='border: 1px solid #C00'"; } ?>type="text" class="ctextField" />
    <?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['email']."</p>"; }?>
    </p>
    <p><strong>Telephone:</strong><br />
    <input name="telephone" type="text" class="ctextField" /></p>
    <p><strong>Company:</strong><br />
    <input name="company" type="text" class="ctextField" /></p>
    <p><strong>Address:</strong><br />
    <input name="address1" type="text" class="ctextField" /></p>
    <p><input name="address2" type="text" class="ctextField" /></p>
    <p><strong>Town:</strong><br />
    <input name="town" type="text" class="ctextField" /></p>
    <p><strong>County:</strong><br />
    <input name="county" type="text" class="ctextField" /></p>
    <p><strong>Postcode:</strong><br />
    <input name="postcode" type="text" class="ctextField" /></p>
    <p><strong>Message:*</strong><br />
    <?php if (isset($warning['message'])) { echo "<p class='warning'>".$warning['message']."</p>"; }?>
    <textarea name="message" <?php if (isset($warning['message'])) { echo "style='border: 1px solid #C00'"; } ?> cols="55" rows="8" class="ctextField"></textarea></p>
    <p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    </form>
    </body>
    </html>

  • Need help with Adobe Interactive Form Saving

    Hi Gurus,
    I need your help with Adobe Interactive form saving.
    I have written the code in pre-save event to prompt a message when user didn't enter any value before saving. The form data should not be saved upon clicking save (Just prompt the message and exit form the form). Can u please advice me how to do this.
    Regards,
    Srini

    see the link: http://forms.stefcameron.com/2008/04/
    it says:
    preSave: Failed validations will not prevent the form from being saved however Acrobat/Reader will issue a special warning message, after issuing the validation error message, to inform the user that the validations failed. Iu2019m guessing this is because the user may be saving the form to continue filling it at a later time so the save canu2019t be completely prevented.
    regards,
    BJagdishwar.

  • Really need help with basic static forms?!?!

    I was thrown into creating forms for our Business Managers and I am not a developer in any way!  I am a Recruiter, but somewhat tech savvy (or at least I thought I was). 
    I am trying to create basic static forms.  I started by using Adobe Professional and them moved to LiveCycle Designer because of what I thought were better "editable" options when creating the form.  I want to be able to send my manager's forms via e-mail (PDF), they can enter the requesting information in the fields, save a copy for themselves, print, and e-mail to me.  We are not using any of the Adobe Server things, I don't want them to submit via an e-mail button on the form.  We are a non-profit organization and my managers are using all different versions of reader. 
    I am getting extremely frustrated because in testing the form everything seems to be working properly including tab order, print, save and everything I want it to do.  Then, I send them out for my managers to use, for some Manager's they work great, no problems at all!  But then, I keep getting these weird issues from different Managers with the same form.  For one of them, what they typed in the field, now looks like it's behind the text box, like when you select Highlight all, you can see what he typed, but then if you click into the text box, you can see what he typed. Another Manager said, two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it????
    So after the rambling, I guess my questions are: should I be using Live Cycle to create such basic forms or should I be using Adobe?  Can anyone recommend a good "FOR DUMMIES" book that will help me figure out what I am doing wrong, and not explain in "IT" language?
    This is really getting embarrassing!! Any help would be greatly appreciated!!!!

    1. Make sure to set the PDF target version. Goto File -> Form Properties (see the first screenshot attached)
         Find out the minimum Reader version used in your organization and set this value accordingly. If you are not sure, select the least recent version.
    2. two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it
         This may be due to the visibility settings of the fields. Just make sure that you have selected visible instead of visible (screen only)
         See the second screenshot attached
    Hope this may help you.
    Nith

  • Need help with receiving offline form in GP

    I'm new to GP and interactive forms on EP 7.0 SP15 and running into a problem with submitting an offline form and GP starting the process.   The examples were followed on how to set up the callable object with an interactive form.  I've got the form set up to be used as a standalone interactive form and starting a process upon completion.  I've selected the process which is active and completed the mapping.  Went through the steps to manage impersonalized interactive forms.  Downloaded the form, entered data and submit.  Get the message back that it was received successfully.  Went back and checked manage impersonalized... and can see that the form was returned.  Go back to Runtime and can't find the process listed anywhere.  Where is it going?  Is there a way to track it down?  Looked at Maintain queues and checked each queue, can't find anything with a timestamp around the time the last form was submitted.  Any ideas on how to figure this out would be appreciated.
    Thank you,
    Kathy

    Thanks for the reply! I was able to reset the field calculation order
    but have one field that is not populating right away and I have
    changed it's order everywhere?

  • Need help with hiding a form td

    I am trying to set something up where I import a csv file
    with only a bunch of ID numbers. From those numbers I query and get
    the persons name and all that. For each record I want to show a
    <select> drop down menu to choose some options. Everything
    seems to be working fine right now but if I have invalid ID numbers
    it still displays a drop down menu.
    So say I have 13 ID numbers in the csv file and 2 of them are
    invalid. It displays a form select drop down box for all 13. I want
    to hide this somehow if the numbers are invalid. Here is my code:
    <cfloop index="index" list="#csvfile#"
    delimiters="#chr(10)##chr(13)#">
    <cfset list = #listgetAt('#index#',1, ',')#>
    <cfoutput>
    <cfquery name="a" datasource="a">
    SELECT S1.Name, S1.Cardnumber
    FROM IDs S1
    WHERE S1.CardNumber = ('#list#')
    </cfquery>
    </cfoutput>
    <cfif #a.recordcount# lt 1>
    <cfoutput>Invalid ID: #list#</cfoutput>
    </cfif>
    <cfquery name="b" datasource="a">
    select Level
    from IDsAccLevels
    where ID = '#userid#'
    ORDER BY Level
    </cfquery>
    Any help or ideas would be appreciated.
    <cfoutput query="a">
    <tr>
    <td align = "left" style="PADDING-LEFT:
    5px">#CardNumber#</td>
    <td style="PADDING-LEFT: 5px">#Name#</td>
    </cfoutput>
    <form name="test" method="post" action="schedule.cfm"
    target="_self" ID="testrow">
    <td height=21 class="pad5">
    <select name="bldgarea">
    <cfoutput query="b">
    <option value="#Level#">
    #Level# </option>
    </cfoutput>
    </cfif>
    </cfloop>
    </select>
    </form>
    </td>
    </td>
    </tr>

    quote:
    Originally posted by:
    siriiven
    Isn't that what I am doing now?
    No. You are looping through a list, and running individual
    queries inside that loop.

  • Need help with Adobe Interactive Forms

    Hi Gurus,
    In my Adobe Form, I have large data and I need to add new body page horizontally after my Master Page. Can any body help me?
    Regards,
    Srini

    You don´t display the body page, it is a template. So you onlyinstantiate the master page. If you want to have some pages with different orientation or something, create a second master page and control the use of the templates/ masters for the body pages/ subforms/content part of the form.
    Regards Otto

  • Need help with php registration form! (Dreamweaver cs5)

    Im creating an advanced php registration form in dreamweaver. I need the following code for:
    ZIP / Postal code, date of birth.
                      or
    if u can help me how to create the entire form with the following fields That will be nice! Im a Newbie:
    First name, lastname, country, zip / postal code, date of birth, username, password, email, verified, and token.
    This is the database i have in mysql:
    User_id, INT, (10), UNSIGNED, NOT NULL, A_INCREMENT
    Firstname, VARCHAR, (50), NOT NULL
    Lastname, VARCHAR, (50), NOT NULL
    Country, VARCHAR, (20), NOT NULL
    Zip, INT, (12), NOT NULL
    Birth_date, DATE, NOT NULL    
    Username, VARCHAR, (15), NOT NULL
    Password, VARCHAR, (40), NOT NULL
    Email, VARCHAR, (100), NOT NULL
    Verified, ENUM, ('n','y'), NOT NULL
    Token, VARCHAR, (40), NOT NULL
    I need to know how to apply the insert recorset server behavior in dreamweaver cs5 so I can get it to run.
    I have been trying diff ways and i just can't get it right.
    Please help! Thanks!!!

    I'm not sure how much you know but first you have to connect your form to the database
    $con = mysql_connect("hostname","admin_name","password");
    Then you have to choose the database you want information be added to.
    mysql_select_db("database name goes here", $con);
    Then you have to write an sql function which will write it in the appropiate columns in your database
    $sql="INSERT INTO what column e.g members (First name, Last name, age, etc)
    VALUES (the names of the textfields on your form), actually double check that part
    ('$_POST[firstname]','$_POST[lastname]','$_POST[age]')";
    $result = mysql_query($sql);
    This is the first and most basic part just to give you an idea how it works.
    Within these snippets you will have to write much more which will beef up the security aswell as check if everything has been entered correctly etc

  • Need help with creating custom form

    hi all,
    i'm working on creating a new form. it has 2 blocks for 2 tables. headers and lines tables. the headers table mostly have columns that are id's from other tables. i.e. customer_id, location_id etc.. in my screen, obviously i would not show the id's. i'll display the descriptions / names of the id's instead like customer_name for customer_id... but in order to do this i created a table that joins more than 2 tables. so in the block query data source name, i enter the name of this view.. then i add a ON-INSERT, ON-UPDATE, ON-DELETE triggers at block level and i call the corresponding package which does the insert, update and delete. i'm able to insert but update and delete causes a problem. "ORA-01445: cannot select ROWID from, or sample, a join.. ".. i'm thinking the reason is that when the form does an update or delete, it locks the record which causes the error.. also the reason i need the view is because i need to be able to query the customer_name in the screen instead of the customer_id... what i can't figure out is how i can make this work... or a work-around may be...
    can anyone help.
    thanks

    Matt Rasmussen wrote:
    You're right that the form is locking the record so you just need to control how it locks the record with an on-lock trigger. From the Oracle Applications Developer's Guide:
    page 3-9:
    When basing a block on a view, you must code ON–INSERT, ON–UPDATE, ON–DELETE, and ON–LOCK triggers to insert, update, delete, and lock the root table instead of the view.
    Most of the on-lock triggers I have written follow this template:
    <pre>     SELECT     field1, field2, field3
         INTO     :block.field3, :block.field2, :block.field3
         FROM     view
         WHERE     rowid = :block.row_id
         FOR UPDATE OF field1, field2, field3;</pre>
    I think once you've added this trigger, your form will work the way you want it.hi,
    i tried your suggestion but still get the same error.. anyways, here are the details of what i have so far.
    here's my table.
    CREATE TABLE XXPN_VR_VOL_HEADERS_ALL
      VOL_HEADER_ID     NUMBER,
      CUSTOMER_ID       NUMBER,
      LEASE_ID          NUMBER,
      LOCATION_ID       NUMBER,
      VAR_RENT_ID       NUMBER,
      PERIOD_SET_NAME   VARCHAR2(15 BYTE),
      PERIOD_NAME       VARCHAR2(15 BYTE),
      IMPORT_FLAG       VARCHAR2(1 BYTE),
      IMPORT_DATE       DATE,
      CALC_TYPE         VARCHAR2(30 BYTE),
      PASSTHROUGH_FLAG  VARCHAR2(1 BYTE),
      COMMENTS          VARCHAR2(2000 BYTE),
      CREATED_BY        NUMBER,
      CREATION_DATE     DATE,
      LAST_UPDATED_BY   NUMBER,
      LAST_UPDATE_DATE  DATE
    );here's my view.
    create or replace view xxpn_vr_vol_headers_v ( row_id
                                                  ,vol_header_id
                                                  ,customer_id
                                                  ,customer_name
                                                  ,lease_id
                                                  ,lease_name
                                                  ,lease_number
                                                  ,location_id
                                                  ,location_code
                                                  ,var_rent_id
                                                  ,var_rent_number
                                                  ,period_set_name
                                                  ,period_name
                                                  ,import_flag
                                                  ,import_date
                                                  ,calc_type
                                                  ,passthrough_flag
                                                  ,created_by
                                                  ,creation_date
                                                  ,comments
                                                  ,last_updated_by
                                                  ,last_update_date )
    as
      select xvvha.rowid
            ,xvvha.vol_header_id
            ,xvvha.customer_id
            ,hp.party_name
            ,xvvha.lease_id
            ,pl.name
            ,pl.lease_num
            ,xvvha.location_id
            ,loc.location_code
            ,xvvha.var_rent_id
            ,pvr.rent_num
            ,xvvha.period_set_name
            ,xvvha.period_name
            ,xvvha.import_flag
            ,xvvha.import_date
            ,xvvha.calc_type
            ,xvvha.passthrough_flag
            ,xvvha.created_by
            ,xvvha.creation_date
            ,xvvha.comments
            ,xvvha.last_updated_by
            ,xvvha.last_update_date
        from xxpn_vr_vol_headers_all xvvha
            ,hz_parties hp
            ,pn_leases_all pl
            ,pn_locations_all loc
            ,pn_var_rents_v pvr
       where -1 = -1
         and xvvha.customer_id = hp.party_id (+)
         and xvvha.lease_id = pl.lease_id (+)
         and xvvha.location_id = loc.location_id (+)
         and xvvha.var_rent_id = pvr.var_rent_id (+);here's my ON-UPDATE trigger block level
    begin
      xxpn_vr_vol_data_pkg.update_vr_vol_hdr_data ( p_vol_header_id     => :XXPNVRVOLHDRS.vol_header_id
                                                   ,p_customer_id       => :XXPNVRVOLHDRS.customer_id
                                                   ,p_lease_id          => :XXPNVRVOLHDRS.lease_id
                                                   ,p_location_id       => :XXPNVRVOLHDRS.location_id
                                                   ,p_var_rent_id       => :XXPNVRVOLHDRS.var_rent_id
                                                   ,p_period_set_name   => :XXPNVRVOLHDRS.period_set_name
                                                   ,p_period_name       => :XXPNVRVOLHDRS.period_name
                                                   ,p_import_flag       => :XXPNVRVOLHDRS.import_flag
                                                   ,p_passthrough_flag  => :XXPNVRVOLHDRS.passthrough_flag
                                                   ,p_comments          => :XXPNVRVOLHDRS.comments
                                                   ,x_last_updated_by   => :XXPNVRVOLHDRS.last_updated_by
                                                   ,x_last_update_date  => :XXPNVRVOLHDRS.last_update_date );
    end;here's my code in ON-LOCK trigger block level
    begin
      select lease_id
            ,lease_name
            ,lease_number
            ,location_id
            ,location_code
            ,customer_id
            ,customer_name
            ,var_rent_id
            ,var_rent_number
            ,period_name
            ,comments
            ,period_set_name
            ,import_flag
            ,passthrough_flag
            ,created_by
            ,creation_date
            ,last_updated_by
            ,last_update_date
        into :XXPNVRVOLHDRS.lease_id
            ,:XXPNVRVOLHDRS.lease_name
            ,:XXPNVRVOLHDRS.lease_number
            ,:XXPNVRVOLHDRS.location_id
            ,:XXPNVRVOLHDRS.location_code
            ,:XXPNVRVOLHDRS.customer_id
            ,:XXPNVRVOLHDRS.customer_name
            ,:XXPNVRVOLHDRS.var_rent_id
            ,:XXPNVRVOLHDRS.var_rent_number
            ,:XXPNVRVOLHDRS.period_name
            ,:XXPNVRVOLHDRS.comments
            ,:XXPNVRVOLHDRS.period_set_name
            ,:XXPNVRVOLHDRS.import_flag
            ,:XXPNVRVOLHDRS.passthrough_flag
            ,:XXPNVRVOLHDRS.created_by
            ,:XXPNVRVOLHDRS.creation_date
            ,:XXPNVRVOLHDRS.last_updated_by
            ,:XXPNVRVOLHDRS.last_update_date
        from xxpn_vr_vol_headers_v
       where rowid = :XXPNVRVOLHDRS.ROW_ID
         for update of lease_id
                      ,lease_name
                      ,lease_number
                      ,location_id
                      ,location_code
                      ,customer_id
                      ,customer_name
                      ,var_rent_id
                      ,var_rent_number
                      ,period_name
                      ,comments
                      ,period_set_name
                      ,import_flag
                      ,passthrough_flag
                      ,created_by
                      ,creation_date
                      ,last_updated_by
                      ,last_update_date;
    end;properties for the block
    Query Data Source Type: Table
    Query Data Source Name: XXPN_VR_VOL_HEADERS_V
    DML Target Type: Table
    DML Target Name: XXPN_VR_VOL_HEADERS_V
    i'd appreciate any help.
    thanks

  • Need help with automatic slideshow

    I made an automatic slideshow that switches frames at a set
    interval but now i want to load each frame from an extrenal swf and
    add a preloader for each frame, how do i tell the slideshow to wait
    until the frame is loaded before it proceeds to the next frame, but
    still have the movieclip be automatic. Also the slideshow can be
    controlled mannually so i also want to know how to disable the
    manual control till each frame is loaded.

    Here is some of the action script for the slideshow.
    This first bit sets up the automatic interval transitions in
    the main movie timeline
    function nextImage()
    mc_slide.mc_transition.play();
    } // End of the function
    function waitImage()
    clearInterval(slideTimer);
    var slideTimer = setInterval(nextImage, timer * 1000);
    nextImage();
    } // End of the function
    function pauseSlide()
    mc_slide.mc_quicktransition.gotoAndPlay(2);
    } // End of the function
    var timer = 8;
    var pauseTime = 20;
    var slideTimer = setInterval(nextImage, timer * 2000);
    stop ();
    the movieclip loaders that load each movie clip are embedded
    with the transition animation.
    this is the code in the embedded mc-it loads the 1st movie
    clip and allows the user to manually jump to any of the other movie
    clips.
    emptyMC.loadMovie("frame1.swf");
    var pageAddress = "about:blank";
    btn1.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(1);
    btn2.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(2);
    btn3.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(3);
    btn4.onRelease = function ()
    _parent.pauseSlide();
    gotoAndStop(4);
    stop();
    I need to know how to put the code for the automation of the
    slideshow pause until each movieclip has finished loading and also
    at the same time disable the manual control of the movie clips
    before they are fully loaded.

  • Need help with check out form - Payment method error

    When I check out error comes up "Payment Method must be selected" though it is.
    The 30 day account option works but Credit cards get the above error.
    Anyone able to help me?
    Andrew
    <h1>Checkout</h1>
    <p class="required-h1-tip"><span>*</span> Required field</p>
    <p>Please fill out the required fields, delivery address and payment fields.</p>
    <hr />
    <section class="checkout form-container">
    <form name="catwebformform42059" class="form-generic-a checkout-a" id="catwebformform42059" onsubmit="return checkWholeForm42059(this)" action="/FormProcessv2.aspx?WebFormID=10850&amp;OID={module_oid}&amp;OTYPE={module_otype} &amp;EID={module_eid}&amp;CID={module_cid}" enctype="multipart/form-data" method="post">
        <fieldset>
        <h2 class="a">1. Account Information</h2>
        <!--<div class="row">
        <p class="field field-a">
        <label for="username">User Name <em>*</em></label>
        <input type="text" value="{module_username}" id="f-username" class="text" name="UserName" />
        </p>
        <p class="field field-b">
        <label for="password">Password <em>*</em></label>
        <span class="half">
        <input type="password" value="{module_password}" id="f-password" class="text" name="Password" />
        </span></p>
        <p class="field field-b">
        <label for="confirm-password">Confirm <em>*</em></label>
        <span class="half">
        <input type="password" value="{module_password}" id="f-password-confirm" class="text" name="PasswordConfirm" />
        </span></p>
        </div>-->
        <div class="row">
        <p class="field field-a">
        <label for="first-name">First Name <em>*</em></label>
        <input type="text" name="FirstName" class="text" id="f-first-name" value="{module_firstname}" />
        </p>
        <p class="field field-a">
        <label for="last-name">Last Name <em>*</em></label>
        <input type="text" name="LastName" class="text" id="LastName" value="{module_lastname}" />
        </p>
        </div>
        <div class="row">
        <p class="field field-a">
        <label for="email">Email Address <em>*</em></label>
        <input type="text" name="EmailAddress" class="text" id="f-email" value="{module_emailaddress}" />
        </p>
        <p class="field field-a">
        <label for="phone">Phone Number <em>*</em></label>
        <input type="text" name="HomePhone" class="text" id="f-phone" value="{module_homephone}" />
        </p>
        </div>
        <div class="row checkbox"><span class="tick">
        <input type="checkbox" name="CampaignList_20945" class="tick" id="f-updates" />
        </span>
        <label for="newsletter-a">Keep me up to date on product information, sales, and special offerings.</label>
        </div>
        </fieldset>
        <hr />
        <fieldset>
        <h2 class="a">2. Shipping Address</h2>
        <div class="row">
        <p class="field field-a">
        <label for="ShippingAttention">Shipping Name: <em>*</em></label>
        <input type="text" class="text" id="ShippingAttention" name="ShippingAttention" />
        </p>
        </div>
        <div class="row">
        <p class="field field-a">
        <label for="shipping-addr-1">Address Line 1 <em>*</em></label>
        <input type="text" class="text" id="ShippingAddress" name="ShippingAddress" />
        </p>
        <p class="field field-a">
        <label for="shipping-addr-2">Address Line 2</label>
        <input type="text" class="text" id="ShippingAddress2" name="ShippingAddress2" />
        </p>
        </div>
        <div class="row">
        <p class="field field-a">
        <label for="shipping-city">City <em>*</em></label>
        <input type="text" class="text" id="ShippingCity" name="ShippingCity" />
        </p>
        <p class="field field-a">
        <label for="shipping-state">State <em>*</em></label>
        <input type="text" class="text" id="ShippingState" name="ShippingState" />
        </p>
        </div>
        <div class="row">
        <div class="field field-a">
        <p class="field-b">
        <label for="ShippingZip">Zip / Postal Code <em>*</em></label>
        <input type="text" class="text" id="ShippingZip" name="ShippingZip" />
        </p>
        </div>
        <!--  <p class="field field-a">
                        <label for="shipping-phone">Phone Number <em>*</em></label>
                        <input type="text" id="shipping-phone" name="shipping-phone" />
                    </p> -->
        </div>
        </fieldset>
        <hr />
        <fieldset>
        <h2 class="a">3. Billing Address</h2>
        <div class="row checkbox"><span class="tick">
        <input type="checkbox" class="tick" value="1" id="f-shipping-same" name="same_shipping" />
        </span>
        <label for="billing-same-as-shipping">Check this box if billing address is the same as shipping address.</label>
        </div>
        <div class="row">
        <p class="field field-a">
        <label for="billing-addr-1">Address Line 1 <em>*</em></label>
        <input type="text" value="{module_homeaddress}" id="BillingAddress" class="text" name="BillingAddress" />
        </p>
        <p class="field field-a">
        <label for="billing-addr-2">Address Line 2 <em>*</em></label>
        <input type="text" class="text" id="BillingAddress2" name="BillingAddress2" />
        </p>
        </div>
        <div class="row">
        <p class="field field-a">
        <label for="billing-city">City <em>*</em></label>
        <input type="text" value="{module_homecity}" id="BillingCity" class="text" name="BillingCity" />
        </p>
        <p class="field field-a">
        <label for="billing-state">State <em>*</em></label>
        <input type="text" value="{module_homestate}" id="BillingState" class="text" name="BillingState" />
        </p>
        </div>
        <div class="row">
        <p class="field field-b">
        <label for="BillingZip">Zip / Postal Code <em>*</em></label>
        <input type="text" value="{module_homezip}" id="BillingZip" class="text" name="BillingZip" />
        </p>
        </div>
        </fieldset>
        <hr />
        <fieldset id="credit-card-information">
        <h2 class="a">4. Payment Options</h2>
        <div class="row">
        <h4>Approved 30 DayAccount Customer</h4>
        <p class="field">Please select   
        </p>
        <input type="radio" name="PaymentMethodType" id="PaymentMethodType" value="8" /><span style="font-size: 18px; color: #ffff00;">Account Customers Only</span><hr />
        <h2>Pay by Credit Card</h2>
        <p class="row row-accepted-cards">
        We accept the following credit cards: <img alt="" src="temp/cards.png" />            </p>
        <label for="card-type">Card Type <em>*</em></label>
        <span class="select">
        <select name="CardType" class="text" id="f-cc-type">
        <option selected="selected" value="1">Visa</option>
        <option value="2">Master Card</option>
        <option value="4">American Express</option>
        </select>    </span>
        </div>
        <div class="row">
        <p class="field field-a">
        <label for="name-on-card">Name on Card <em>*</em></label>
        <input type="text" name="CardName" class="text" id="f-cc-name" />
        </p>
        <p class="field field-a">
        <label for="card-number">Card Number <em>*</em></label>
        <input type="text" name="CardNumber" class="text" id="f-cc-number" />
        </p>
        </div>
        <div class="row">
        <p class="field card-expiration">
        <label for="card-exp-month">Card Expiration <span class="offset">Month</span> <em>*</em></label>
        <span class="select one">
        <select name="CardExpiryMonth" class="s" id="f-cc-exp-month">
        <option selected="selected" value="1">January</option>
        <option value="2">February</option>
        <option value="3">Mar</option>
        <option value="4">Apr</option>
        <option value="5">May</option>
        <option value="6">Jun</option>
        <option value="7">Jul</option>
        <option value="8">Aug</option>
        <option value="9">Sep</option>
        <option value="10">Oct</option>
        <option value="11">Nov</option>
        <option value="12">Dec</option>
        </select>
        </span>
        <label class="offset" for="card-exp-year">Card Expiration Year<em>*</em></label>
        <span class="select">
        <select name="CardExpiryYear" class="xs" id="f-cc-exp-year">
        <option value="2015">2015</option>
        <option value="2016">2016</option>
        <option value="2017">2017</option>
        <option value="2018">2018</option>
        <option value="2019">2019</option>
        <option value="2020">2020</option>
        <option value="2021">2021</option>
        <option value="2022">2022</option>
        </select>
        </span></p>
        </div>
        <div class="row">
        <div style="display: none;">
        <input type="radio" name="PaymentMethodType" class="tick" id="f-payment-method-cc" value="1" />
        <input type="radio" name="PaymentMethodType" id="PaymentMethodType_9" value="10" />
        </div>
        </div>
        <div class="row">
        <p class="field ccvn">
        <label for="ccv-number">CCV Number <em>*</em></label>
        <span class="ccv">
        <input type="text" name="CardCCV" class="text" id="f-cc-cvv" />
        </span></p>
        </div>
        </fieldset>
        <div class="wrap total">
        <p class="sum">Total: <strong><span class="amountSpan"></span></strong></p>
        <p class="action"><button class="button-a" type="submit">Checkout</button></p>
        </div>
        <input type="hidden" name="Amount" class="cat_textbox" id="Amount" readonly="readonly" />
        <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
        <script language="javascript" type="text/javascript">
                //<![CDATA[
                var submitcount42059 = 0;function checkWholeForm42059(theForm){var why = "";if (theForm.Username) why += isEmpty(theForm.Username.value, "Username"); if (theForm.Password && theForm.PasswordConfirm) { why += isEmpty(theForm.Password.value, "Password"); why += isEmpty(theForm.PasswordConfirm.value, "Confirm Password"); if (theForm.Password.value != theForm.PasswordConfirm.value) why += appendBreak("- Password and its confirmation do not match."); if (theForm.Password.value.length < 6) why += appendBreak("- Password must be 6 characters or longer."); }if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.HomePhone) why += isEmpty(theForm.HomePhone.value, "Phone Number"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value);if (theForm.ShippingAttention) why += isEmpty(theForm.ShippingAttention.value, "Shipping Name");if (theForm.ShippingAddress) why += isEmpty(theForm.ShippingAddress.value, "Shipping Address"); if (theForm.HomePhone) why += isEmpty(theForm.HomePhone.value, "Phone Number"); if (theForm.ShippingState) why += isEmpty(theForm.ShippingState.value, "Shipping State");  if (theForm.ShippingCity) why += isEmpty(theForm.ShippingCity.value, "Shipping City");  if (theForm.ShippingZip) why += isEmpty(theForm.ShippingZip.value, "Shipping Zipcode");
                if (theForm.BillingAddress) why += isEmpty(theForm.BillingAddress.value, "Billing Address");  if (theForm.BillingState) why += isEmpty(theForm.BillingState.value, "Billing State");  if (theForm.BillingCity) why += isEmpty(theForm.BillingCity.value, "Billing City");  if (theForm.BillingZip) why += isEmpty(theForm.BillingZip.value, "Billing Zipcode");
                 if (!theForm.PaymentMethodType || getRadioSelected(theForm.PaymentMethodType) == 1) { if (theForm.CardName) why += isEmpty(theForm.CardName.value, "Name on Card"); if (theForm.CardNumber) why += isNumeric(theForm.CardNumber.value, "Card Number"); if (theForm.Amount) why += isCurrency(theForm.Amount.value, "Amount"); } if (theForm.PaymentMethodType) why += checkSelected(theForm.PaymentMethodType, "Payment Method");if(why != ""){alert(why);return false;}if(submitcount42059 == 0){submitcount42059++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
                // Credit Card info is not required if paying by PayPal, Hosted Credit Card, COD etc
                function ShowCCFields(val) {                           
                    if (!document.getElementById('paymentdiv'))
                        return;         
                    if (val != 1)
                        document.getElementById('paymentdiv').style.display = 'none';               
                    else
                        document.getElementById('paymentdiv').style.display = 'inline';
                //]]>
            </script>
    </form>
    </section>

    Locking this thread.
    You only need one post on something

  • Need help with automatic page when a box is filled with a letter

    I use the Adobe Livecycle Designer 8.0, version 8.0.1291.1.339988.
    I'm trying to make a test for cars in Livecycle, where the car is tested and then there should be a box after every kind of test such as: Brakes front, brakes back, parking brakes, lights, engine, oillevel, exhaust system, clutch and so on..
    When a specific letter is written in the box a page should pop-up where the tester can write what the problem is. And then afterwards continune with the rest of the test.
    In the box, there should be four choices, a G, R and A. When there's a G there shouldn't pop-up a page, because that part is fine. But when there's a R (reparation) and an A (remark), this page should pop-up with the text of what part of the car it is and a text-field where the mechanic that tests the car can write what needs reparing or what's a remark.
    Can anyone help me? I really would appriciate it!
    Jacob Langer

    To support what King_Penguin has provided, here is a support document that describes the steps to take with a device in Recovery Mode. If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support

  • Need help with automatic printing of a page

    I am looking for inputs for a particular scenario; On the Oracle HR Self-service pages, once the employee adds/updates his personal details and submits his changes to be approved by the HR manager, the final confirmation page should be automatically routed to a particular printer and be printed. Can this functionality be achieved with OAF coding for the Submit button?

    Hi,
    Check this link, it will help you.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration</a>
    Dont forget to close the thread when answered.
    Regards,
    Amit

  • Need Help With ePub Book Page Numbering

    I'm not understanding how to get the page numbers set in sequential order for an ePub.
    I've created a Book with 10 sections (all independent files).
    But, as you can see in the attached image, the file numbers do not progress from one "section" to another. This is messing up the TOC and the ePub navigation.
    What am I doing incorrectly?

    Book and Page Numbering Options were set correctly to:
    Continue from previous document
    Automatically Update Page & Section Numbers
    What I missed was setting Document Numbering Options to:
    Start Section >> Auto Page Numbering
    Document Chapter Numbering >> AutoChapter Numbering
    Each of my ten Book documents were defaulting to Start Page Numbering at: 1 which was causing each document/section to begin at 1.

  • Need help with saving pdf form

    I created a quote form for our sales people to fill out and email to their customers. I can't figure out how to set it up so that after they fill out the form it can be saved with the field locked so they cant be changed. Is that even a possibility? I've been working on this for 2 days  and just keep going in circles with it.

    You can set up the form so that the fields get set to read-only after the salesman completes the form but before sending it out. This idea is discussed in this topic: http://forums.adobe.com/message/3314067#3314067
    If you get stuck, post again.

Maybe you are looking for

  • When I generate the TOC in RH7, the first page number is "v" instead of 'i' - how can I fix it?

    When generating a word doc from RH7 everything works fine except for the roman numbering in the TOC footer.  It begin with a "v" (5) instead of "i": The roman numerals count up on the following 4 TOC pages - so, the TOC is numbered from v to viii.  T

  • Selecting objects in a layer to copy and paste into a new doc?

    How can I select all objects in a layer and copy and paste the objects into a new document? We are having issues with the copy and paste method. Is this because it uses the operating systems clipboard?

  • Preview Slideshow stop screensaver

    When I am using the Slideshow from Preview (version 4.0 (469)) on OS X 10.5.1 the screen saver comes on in the middle of slideshow. Does any body know how to stop this? I would expect the screen saver to come on when the slideshow gets to the end but

  • Resetting network settings iOS

    Hi I have noticed recently that when I have reset my network setting on iphone 5 my ipad seem to have also seems to have reset itself also? I.E. The ipad has lost all passwords for home wifi log in etc to routers. Can anyone explain why this is happe

  • Buggy stationery, recipients' blank replies

    Over the last couple of years, I've found Mac Mail's stationery to be a mixed blessing. While it can save me time when I have boilerplate I don't want to keep copying and pasting, it's also given me grief in a couple of big ways. One is related to at