SelectOneChoice discount after create insert

Hello

I use Oracle JDeveloper 11 g Release 2 (11.1.2.3.0).

I have a page jspx with a tab with 2 tabs Panel. In the first, I have a select one choice that displays the items available at this time. On the other tab, I have a table (and a form) with all the elements and when I create, insert a new (and commit to databases), when I get back to the first tab, the new added is not show by the choice of a Select.

What can I do to update the SOC after insert a new row in the table?

Here is the code of the SOC:

<af:selectOneChoice
     label="Coche"
     required="#{bindings.CocheIdTemp.hints.mandatory}"
     shortDesc="#{bindings.CocheIdTemp.hints.tooltip}" id="soc2"
     value="#{modeloAStockBean.modeloId}" autoSubmit="true"
     inlineStyle="float:left; margin-left:350px; margin-top:10px;">
     <f:selectItems value="#{bindings.CocheIdTemp.items}" id="si2"/>
</af:selectOneChoice>

And here is the code for the form:

<af:panelFormLayout id="pfl2">
     <af:toolbar id="t3">
     <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
          text="Nuevo" id="cb4" />
     <af:commandButton actionListener="#{bindings.Commit.execute}" text="Guardar" id="cb5" />
          </af:toolbar>
          <af:selectOneChoice value="#{bindings.CocModId.inputValue}"
               label="Modelo"
               required="#{bindings.CocModId.hints.mandatory}"
               shortDesc="#{bindings.CocModId.hints.tooltip}" id="soc1">
               <f:selectItems value="#{bindings.CocModId.items}" id="si1"/>
          </af:selectOneChoice>
     <af:inputText value="#{bindings.CocColor1.inputValue}"
          label="Color"
          required="#{bindings.CocColor1.hints.mandatory}"
          columns="#{bindings.CocColor1.hints.displayWidth}"
          maximumLength="#{bindings.CocColor1.hints.precision}"
          shortDesc="#{bindings.CocColor1.hints.tooltip}" id="it1">
          <f:validator binding="#{bindings.CocColor1.validator}"/>
     </af:inputText>
     <af:inputText value="#{bindings.CocPuertas1.inputValue}"
          label="Puertas"
          required="#{bindings.CocPuertas1.hints.mandatory}"
          columns="#{bindings.CocPuertas1.hints.displayWidth}"
          maximumLength="#{bindings.CocPuertas1.hints.precision}"
          shortDesc="#{bindings.CocPuertas1.hints.tooltip}" id="it2">
          <f:validator binding="#{bindings.CocPuertas1.validator}"/>
          <af:convertNumber groupingUsed="false"
               pattern="#{bindings.CocPuertas1.format}"/>
     </af:inputText>
     <af:inputText value="#{bindings.CocCombustible1.inputValue}"
          label="Combustible"
          required="#{bindings.CocCombustible1.hints.mandatory}"
          columns="#{bindings.CocCombustible1.hints.displayWidth}"
          maximumLength="#{bindings.CocCombustible1.hints.precision}"
          shortDesc="#{bindings.CocCombustible1.hints.tooltip}" id="it3">
          <f:validator binding="#{bindings.CocCombustible1.validator}"/>
     </af:inputText>
     <af:inputText value="#{bindings.CocPrecio1.inputValue}"
          label="Precio"
          required="#{bindings.CocPrecio1.hints.mandatory}"
          columns="#{bindings.CocPrecio1.hints.displayWidth}"
          maximumLength="#{bindings.CocPrecio1.hints.precision}"
          shortDesc="#{bindings.CocPrecio1.hints.tooltip}" id="it4">
          <f:validator binding="#{bindings.CocPrecio1.validator}"/>
          <af:convertNumber groupingUsed="false"
               pattern="#{bindings.CocPrecio1.format}"/>
     </af:inputText>
     <af:inputText value="#{bindings.CocImagen1.inputValue}"
          label="Imagen"
          required="#{bindings.CocImagen1.hints.mandatory}"
          columns="#{bindings.CocImagen1.hints.displayWidth}"
          maximumLength="#{bindings.CocImagen1.hints.precision}"
          shortDesc="#{bindings.CocImagen1.hints.tooltip}" id="it5">
          <f:validator binding="#{bindings.CocImagen1.validator}"/>
     </af:inputText>
</af:panelFormLayout>

Thanks in advance!

Hi Sheriton,

Yes. You must create a listener for your action button. This action listener will be written in a java bean. But correct my previous message you run the validation and execution.

The code will be something like this:

BindingContainer links = bindingcontext.getcurrent () .getcurrentbindingsentry ();

OperationBinding cocheExecute = bindings.getOperationBinding ("Execute"); (must match the method name in the links)

The OperationBinding commit = bindings.getOperationBinding ("Commit");

commit. Execute();

cocheExecute.execute ();

Try this and let me know if this worked for you. In addition, before you implement this, go to your tab where the LOV is after committing and press F5 (just to make sure that what we actually need to do is just to refresh the component). If the new value is there after F5 her you just need to add a part of this component LOV trigger to your validation button.

Tags: Java

Similar Questions

  • What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    Mr President.

    What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    --SL_CUSTOMERS table data
    
    
    INSERT INTO SL_CUSTOMERS VALUES(1,'Kamrul Hasan',NULL,NULL,'Moghbazar', 'Dhaka','0456789123',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(2,'Rabiul Alam',NULL,NULL,'Motijheel', 'Dhaka','0567891234',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(3,'Shahed Hasan',NULL,NULL,'2-G/1,2-2,Mirpur', 'Dhaka','0678912345',NULL,NULL,NULL,'Y',NULL);
    
    
    
    

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG 
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"   
    FOR EACH ROW   
    BEGIN   
    IF :NEW.CUSTOMER_ID IS NULL OR :NEW.CUSTOMER_ID < 0 THEN  
      SELECT SL_CUSTOMERS_SEQ.nextval   
        INTO :NEW.CUSTOMER_ID  
        FROM DUAL;   
      END IF;   
    END;   
    /
    
    
    
    

    When I try to insert several records with the seq.nextval it gives error

    violation of primary key.

    INSERT INTO "ALIZA"."SL_CUSTOMERS" (CUSTOMER_NAME) VALUES ('sdfsd')
    ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    One error saving changes to table "ALIZA"."SL_CUSTOMERS":
    Row 4: ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    
    
    
    

    Concerning

    Mr President.

    I find the solution by creating a function before the triiger

    as below

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    CREATE OR REPLACE FUNCTION get_SL_CUSTOMERS_vId RETURN VARCHAR2 AS
    BEGIN
       RETURN SL_CUSTOMERS_SEQ.NEXTVAL;
    
    END;
    /
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"
    FOR EACH ROW
    DECLARE
    dummy VARCHAR2(200);
    BEGIN
      dummy := get_SL_CUSTOMERS_vId();
      :NEW.CUSTOMER_ID := dummy;
    END;
    /  
    

    It works very well

    Thank you all for the suggestions.

    Concerning

  • HP Pavilion DV6-2106EA hangs after the insertion of son wired CAT5 (internet)

    HP Pavilion DV6-2106EA hangs after when inserting the cable wires CAT5 for wifi internet works fine

    or wireless works fine. Need help

    Hello

    Unplug your ethernet category 5 cable.

    Download the LAN driver from the link below and save it to your desktop.

    FTP://ftp.HP.com/pub/SoftPaq/sp46501-47000/sp46504.exe

    Then, in the Menu start, open the all programs, open accessories, right-click on command prompt and select "run as Administrator".  In at the prompt, type the following command and press ENTER.
     
    sfc/scannow               (Note that there is a space between sfc and /)
     
    Let the entire process, then the output type and press ENTER.

    Now, right click on the installer you downloaded and select "Run as Administrator" to launch the installation.  When finished, restart the computer and try to connect the cable again.

    Kind regards

    DP - K

  • drive Windows does not start a cd or dvd. it keep said to incert cd after I insert it

    drive Windows does not start a cd or dvd.  it keep said to incert cd after I insert it.  It can not read the cd or the dvd to start.  I rip, but it tells me to put it on cd.  I made a full recovery but still does not.  I have a Lenovo all-in

    Hi Kenneth,

    1. are you able to read files with another player?

    2 have you made changes to your computer recently?

    3. from when are you facing this problem?

    4. what operating system is installed on the computer?

    I suggest you follow the method and check if it helps.

    Follow the link and check if that helps.

    Your CD or DVD drive cannot read or write media

  • After you insert the disc in the drive, the system does not recognize f

    * Original title: Windows Media Player Windows 7 problem

    After having inserted the disc in the drive, the system does not recognize f indicating that a disk has been inserted.  Rattling coming from player. HP Pavilion Notebook g series

    (Moved to music, photos and video)

    Hello

    Welcome to the Microsoft community.

    According to the request, I understand that your system is unable to recognize the F: drive after inserting a disc. I appreciate your efforts to solve this problem.

    The issue could be due to one of the following reasons - the drive might be bad, might have a cable loose or slight corrosion on the contacts (usually for a laptop) and other issues.

    Given the clicking of the drive I suggest you to clean the optics on the drive by wiping with a barely damp q-tip.

    If there is a possibility of cables in bulk. I suggest to remove the power supply, then make sure that the cables at both ends. Remove and replace firmly. For laptops, you can often clean power and contacts data with a pencil eraser.

    1. Open the Control Panel.
    2. Click on Device Manager and select CD/DVD.
    3. Double click on the drivers tab.
    4. Click update drivers and right click on the Uninstalldisk.
    5. Reboot- it will refresh the default driver stack.

    See the following Article in the Microsoft helps solve problems with CD or DVD drives.

    https://support.Microsoft.com/en-us/mats/cd_dvd_drive_problems

    See the Microsoft support Article for CD or DVD drive not recognized by Windows or other programs.

    https://support.Microsoft.com/en-us/KB/314060

    Try these steps and let us know the results for assistance.

    Thank you

  • Value UDF user not multiplication of database after creating user

    Hello

    We have created 120 UDF to create the profile in IOM and published the sandboxes. (UDF created in the designer in the sysadmin console, add the UDF Create User page)

    The UDF do not appear in the database. But after creating user (which is a success), I don't see the UDF values we have input during the creation of the user did spread to the database. We are sure that we checked for the correct UDF in the database.

    Please let me know the possible cause to this question. I checked the logs and see no error while/after creating the user.

    Please help as to what causes this problem and what can be the possible solution.

    OIM 11 g R2 (11.1.2.0 - BP08)

    -Thank you.

    Abhished,

    Please do not mention the link. It is false. When you create a UDF file to create a user Page, the data component should be the component data - catalog and not the component data - user management.

    Thank you

  • Windows 8.1 did not create a user profile after creating a new user

    I was deeply puzzled by this problem.

    Just bought a MS Surface Pro 128 GB and upgraded to 8.1 Windows it works fine until I needed to create a new user. He is a user of child for my daughter with a local account only. After creating the new user account, I tried to logon. He complained "user profile Service does not have the sign in» Google it and found the solution to change the registry for the location of the profile displayed on many sites. So I launched regedit. But to my surprise, there is no entry for the new user to the profilelist title - there are only two entries: one for me (admin), and the other is for a user named "fwuser". So I couldn't use the method to rename the master for this problem.

    Could someone give me a tip, which could cause this problem and how to fix it? Much appreciate it.

    Hello

    Have you tried this fix, please try it out and tell us:

    http://www.kapilarya.com/fix-error-user-profile-service-failed-the-logon-user-profile-cannot-be-loaded-for-Windows-8

    Hope this helps, good luck :)

  • I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    Mr President.

    I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    formdoubletables.png

    the page source is

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:group id="Group">
          <af:inputText value="#{bindings.VoucherId.inputValue}" label="#{bindings.VoucherId.hints.label}"
                        required="#{bindings.VoucherId.hints.mandatory}" columns="#{bindings.VoucherId.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId.hints.precision}"
                        shortDesc="#{bindings.VoucherId.hints.tooltip}" id="it1">
            <f:validator binding="#{bindings.VoucherId.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId.format}"/>
          </af:inputText>
          <af:inputDate value="#{bindings.VoucherDate.inputValue}" label="#{bindings.VoucherDate.hints.label}"
                        required="#{bindings.VoucherDate.hints.mandatory}"
                        columns="#{bindings.VoucherDate.hints.displayWidth}"
                        shortDesc="#{bindings.VoucherDate.hints.tooltip}" id="id1">
            <f:validator binding="#{bindings.VoucherDate.validator}"/>
            <af:convertDateTime pattern="#{bindings.VoucherDate.format}"/>
          </af:inputDate>
          <af:inputText value="#{bindings.Credit.inputValue}" label="#{bindings.Credit.hints.label}"
                        required="#{bindings.Credit.hints.mandatory}" columns="#{bindings.Credit.hints.displayWidth}"
                        maximumLength="#{bindings.Credit.hints.precision}" shortDesc="#{bindings.Credit.hints.tooltip}"
                        id="it2">
            <f:validator binding="#{bindings.Credit.validator}"/>
          </af:inputText>
        </af:group>
        <af:group id="g1">
          <af:inputText value="#{bindings.Lineitem.inputValue}" label="#{bindings.Lineitem.hints.label}"
                        required="#{bindings.Lineitem.hints.mandatory}" columns="#{bindings.Lineitem.hints.displayWidth}"
                        maximumLength="#{bindings.Lineitem.hints.precision}" shortDesc="#{bindings.Lineitem.hints.tooltip}"
                        id="it3">
            <f:validator binding="#{bindings.Lineitem.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Lineitem.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.VoucherId1.inputValue}" label="#{bindings.VoucherId1.hints.label}"
                        required="#{bindings.VoucherId1.hints.mandatory}"
                        columns="#{bindings.VoucherId1.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId1.hints.precision}"
                        shortDesc="#{bindings.VoucherId1.hints.tooltip}" id="it4">
            <f:validator binding="#{bindings.VoucherId1.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId1.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Debit.inputValue}" label="#{bindings.Debit.hints.label}"
                        required="#{bindings.Debit.hints.mandatory}" columns="#{bindings.Debit.hints.displayWidth}"
                        maximumLength="#{bindings.Debit.hints.precision}" shortDesc="#{bindings.Debit.hints.tooltip}"
                        id="it5">
            <f:validator binding="#{bindings.Debit.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Credit1.inputValue}" label="#{bindings.Credit1.hints.label}"
                        required="#{bindings.Credit1.hints.mandatory}" columns="#{bindings.Credit1.hints.displayWidth}"
                        maximumLength="#{bindings.Credit1.hints.precision}" shortDesc="#{bindings.Credit1.hints.tooltip}"
                        id="it6">
            <f:validator binding="#{bindings.Credit1.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Particulars.inputValue}" label="#{bindings.Particulars.hints.label}"
                        required="#{bindings.Particulars.hints.mandatory}"
                        columns="#{bindings.Particulars.hints.displayWidth}"
                        maximumLength="#{bindings.Particulars.hints.precision}"
                        shortDesc="#{bindings.Particulars.hints.tooltip}" id="it7">
            <f:validator binding="#{bindings.Particulars.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Amount.inputValue}" label="#{bindings.Amount.hints.label}"
                        required="#{bindings.Amount.hints.mandatory}" columns="#{bindings.Amount.hints.displayWidth}"
                        maximumLength="#{bindings.Amount.hints.precision}" shortDesc="#{bindings.Amount.hints.tooltip}"
                        id="it8">
            <f:validator binding="#{bindings.Amount.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Amount.format}"/>
          </af:inputText>
        </af:group>
        <f:facet name="footer">
          <af:button text="Submit" id="b1"/>
          <af:button actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert"
                     disabled="#{!bindings.CreateInsert.enabled}" id="b2"/>     
          <af:button actionListener="#{bindings.Commit.execute}" text="Commit" disabled="#{!bindings.Commit.enabled}"
                     id="b3"/>
          <af:button actionListener="#{bindings.Rollback.execute}" text="Rollback" disabled="#{!bindings.Rollback.enabled}"
                     immediate="true" id="b4">
            <af:resetActionListener/>
          </af:button>
        </f:facet>
      </af:panelFormLayout>
    </ui:composition>
    
    
    
    

    Concerning

    Go to your VO Wizard, select the tab of the entity and to check if both the EO is editable or not.

    See you soon

    AJ

  • What is the use of refresh after Update/Insert in Wizard EO?

    Hello!

    What is the use of refresh after Update/Insert in Wizard EO? When I need it and when not?

    Thank you.

    -These checkboxes are for columns whose values change after that db triggers run.

    BR, 906099

  • Is it possible package an application later after creating his project?

    Is it possible package an application later after creating his project (maybe the next day) and how? Thanks for any help.

    Yes, it is possible. One of the files in the project directory is 'build.bat. You can run this file to rebuild the project anytime you want.

  • Create Insert - cursor should point

    Hello!!

    I use jdeveloper 11.1.1.5

    I had created an af:table with GlJrnlLnVO I had also slipped and fell CreateInsert that it performs a clean operation.
    While clicked on create insert in my page it usually inserted in the first line!

    I need to point the cursor where it inserts

    In my scenario, examine the records in the table 150 I had scrolled down to last record [in the present, we have 10 records at a time]. When I click on create an Insert button that it inserts in the first line. I need to scroll up to the first line where the new line is created.

    Instead, it should automatically naviagtes to the line where new record in creating while that pressing to create insert

    Property inspector change the DisplayRow of your selected table property

  • Create Insert options

    Hi people jdev.,.

    here to use jdev 11.1.1.5.0 adbc

    Here's my usecase.

    Step 1: when the page loads my af:table with datas appeared in my user interface. Here, no operation does af:table.

    Step 2: in af:table the user unforunately based creating insert options. by nature it predict insert row.

    Step 3: as I said in step 2. the user did this press option unforunately. So I want to erase the line that is ready for insertion.

    so I hope you undertsud people want to say.


    here, I want to talk about what I've done. _

    I consider the scenario above in my mind. I did a thing. what you want to say.

    If the press of unforunately user creates insert medium option. the user igonre or erase the line that is ready for insertion.

    I simply place rollback option. This work also.

    but, strangely enough, that I discovered:

    the data of all lines is rollbacked.

    so help me.


    is there a problem with understanding usecase.

    Here, am ready to explainn u clearly.

    What Timo says is that there is a bug in 11.1.1.5 when you use the restore operation in a table. It is not the cause of the behavior you want in connection, but the only solution to the bug at the moment is to use the version 11.1.1.4 or 11.1.2. As it seems that you are just in the process of learning, I suggest you practice with what you do in 11.1.1.5, or are you really just learning and not not only in versions, simply enter 11.1.2 and continue with this version.

    John

  • How to create insert statements in the SQL Developer client

    Hi all

    A toad, we can create instructions for insertion of data in the table by clicking with the right button on the table and selecting create insert Stmts. But I am new customer SQL Developer. Could you please let me know how to do that in SQL Developer. I would be grateful if someone posts a link to the manual of the SQL Developer (how to use SQL Developer).

    Thank you.
    SQL> create table staging(x int, y varchar2(3));
    
    Table created.
    
    SQL> create table base(x int, y varchar2(3));
    
    Table created.
    
    SQL>
    SQL> insert into staging values(1,'ABC');
    
    1 row created.
    
    SQL> insert into staging values (2,'DEF');
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> select * from staging;
    
             X Y
    ---------- ---
             1 ABC
             2 DEF
    
    SQL> select * from base;
    
    no rows selected
    
    SQL>
    SQL> insert into base
      2  select * from staging;
    
    2 rows created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> truncate table staging;
    
    Table truncated.
    
    SQL>
    SQL> select * from staging;
    
    no rows selected
    
    SQL> select * from base;
    
             X Y
    ---------- ---
             1 ABC
             2 DEF
    
    SQL>
    SQL> exit
    
  • Analyze tables after creating indexes

    Hi all

    I created new clues on the production environment, we must analyze tables after creating indexes. Why and what analysis do?

    Thanks for the help.
    Select * from V$version;
    
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE     10.2.0.4.0     Production"
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production

    There are so many different options and you'll certainly want to tweak your stats based on your system.
    The best thing to do is to read about dbms_stats:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14211/stats.htm#PFGRF30102
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_stats.htm#CIHEHDFB

    Here are a few examples to give you an idea of what they look like and how to perform:

    BEGIN
      DBMS_STATS.GATHER_TABLE_STATS(OWNNAME          => 'schema_name',
                                    TABNAME          => 'table_name',
                                    ESTIMATE_PERCENT => DBMS_STATS.AUTO_SAMPLE_SIZE, --> For really big tables oracle can just do a specific percent
                                    METHOD_OPT       => 'for all columns size 1', --> Defines Histograms, size one disables histograms
                                    DEGREE           => 12, --> The degree of parallelism so you'll see 12 parallel threads gathering stats
                                    CASCADE          => TRUE); --> gather stats on the table's indexes also
    END; 
    
    BEGIN
      DBMS_STATS.GATHER_INDEX_STATS(OWNNAME          => 'schema_name',
                                    INDNAME          => 'index_name',
                                    ESTIMATE_PERCENT => 50,
                                    DEGREE           => 4);
    END; 
    

    You can also do

    DBMS_STATS.gather_schema_stats
    DBMS_STATS.gather_database_stats

    and much more...

    I really want to focus on the need to do your homework on them,
    read the docs I linked and adjust your statistical parameters to fit your db objects and how they are accessed/used.
    Having accurate and meaningful statistics are very important to the performance of the database.

  • Mail after record insertion

    Hi guys, I always interim relief forms in process.php, which seizes the form fields and email, then redirects to thanks.php. I started to work with dreamweaver PHP functions and if I insert a record into MySQL, the form action becomes echo $editFormAction; and the code for process.php points, but no e-mail passes through. It ends at thanks.php so it's still going through process.php. Anyone know why it does not work? Should I send the email after the insertion of all on the same page? Thank you

    Self-confidence, insert file will present itself and DW will place of own form on the form action. The embed code is encapsulated in an IF statement that basically checks if the page loads for the first time, or if the action of the form is set to true andnthen run the embed code and redirect. You should be able to take the E-mail of the process script. PHP and place it after the code insertion and before the redirection. The form variables will be available at the time the script of the insert and the e-mail script.

Maybe you are looking for