Problem using applescript to put data into the table of numbers with column heads

I have extracted the data from certain Web pages and want to place the data items in a table of numbers.  I wrote the applescript to extract pairs of data into two lists, but encountered a problem when you try to put the data items in a table of numbers.

I hope I've isolated the problem eventually reduce version of the data table and writing.

Calendar_Month

Alvarez

Laundry

Linen

Products

March-2014

April 2014

May-2014

Totals:

0.00

0.00

0.00

0.00

Define theLabels to {"Alvarez", "Flax", "Laundry", "Products"}

the nominative value {11, 22, 33, 44}

Tell application "Numbers."

say table 1 on sheet 1 of 1

rowIndex Set of 3

q Set of 2

say the line rowIndex

colHead theLabels point q value

the columnIndex value address column colHead

tell the cell (columnIndex)

value defined in point q of the nominative case

tell the end

tell the end

tell the end

tell the end

I arbitrarily chose to line 3 of the table to demonstrate the problem.

Each data item is associated, due to its position in the list, with a label that determines the column of the data table, where it should be placed.

The illustrated script pitches the 2nd data element in the list in the column headed "Lin".  This seems to work ok.  But if q is set to 1 the script fails with

get address of column "Alvarez" in line 3 of table 1 to sheet 1 of the document 1

-> error number - 1728 column "Alvarez" in line 3 of table 1 of sheet 1 of document 1

It fails also with q the value 3 or 4.

I probably did something really stupid, but I can't understand this behavior.  Advice please?

Under: Numbers v.3.6.1 Script Editor 2.7 2.4 OS X 10.5.5 Applescript

Two questions.

(1) the order of the text in theLabels = {"Alvarez", "Flax", "Laundry", "Products"} and differ from the order of the text in the header row. Is this correct?

(2) you are putting the value 22 (point 2 of nominative) in cell D3, where column heading of D = "Flax", which is article 2 of the theLabels?

Respect,

H

Tags: iWork

Similar Questions

  • What trigger to use to insert data into the table db forms

    Hello

    My form is current having a block of database with the table reference. When you enter data into the form field and click Save. Automatically record is inserted in the database table.
    I want to do this under manual insert. I changed the block of data to a data non-base. Where should I write the insert statement to insert data into the table.
    Is - shutter release key of the form-level validation?

    Please notify.

    Thank you
    Didi.

    You can guide me how to remove the message FRM-40401 no changes to save and instead, I wanted to put 1 transaction record successful... some like it like that.

    Hi didi.
    And this is my last post I'll sleep. ;)
    Take form level trigger named preform
    and write on it

    :SYSTEM.MESSAGE_LEVEL := 5;
    

    I hope this works...

    Hamid

    Mark correct/good to help others to get the right answers. *

  • How to insert data into the table by using the expression builder in the assign activity

    How to insert data into the table by using the expression builder in affect business in BPEl, I use SOA Suite 11.1.1.5
    Can someone help me please

    Hello

    I don't think that oraext:query-database() can insert data into the table.

    What are your needs?
    Can not you plan to use the DB adapter with the insert operation?

    Kind regards
    Neeraj Sehgal

  • inserting data into the table

    Hi all
    I use forms [32 bit] Version 6.0.8.24.1 (Production)
    Oracle Database 10g Release 10.2.0.1.0 - Production
    I have settings such as the (optional) emp_code and the year (mandatory field - four digits).
    Based on the setting that I have to get the detail of a table and these must be inserted at the other table with columns of additions (to hardcode the additional columns).
    To achieve this, I intend to get a cursor by selecting the required fields in the table by the way the where clause of the cursor parameters.
    by making a loop through the cursor I will insert the records in the other table.
    Here, the thing is that the data is going to be huge (since the year is the parameter).
    so my approach causes the performance issue.
    I heard that there is a different method of insetions
    can anyone suggest me the best way (performance wise) other than what I mentioned (if you are aware of)...

    Thank you...

    user13329002 wrote:
    Thanks for everyone.
    I have to take the data from the table as e_name, e_code, of the table and insert it into another table with some other values such as
    e_name, e_code, as well as I add 'n', 'o'.
    its something like

    insert into e_emp(emp_name,emp_code,emp_add,emp_status,emp_type)
    select e_name,e_code,e_add,'O','N')
    from e_table
    where e_date = Parameter.
    

    in other words, the values for Emp_status, emp_type I have no values in the e_table.so table and enter in e_table I have to hard code it.
    CAL I hard code as I mentioned in my statement example

    can someone clear me of the foregoing.

    Thank you...

    Published by: user13329002 on February 15, 2011 20:11

    Yes... You can hardcode the values for Emp_status, emp_type.

    SQL> CREATE TABLE e_emp(emp_code NUMBER(10),emp_status VARCHAR2(1),emp_type VARCHAR2(1));
    
    Table created.
    
    SQL> create table e_table as (select * from e_emp);
    
    Table created.
    
    SQL> INSERT INTO e_table(emp_code) VALUES('1111');
    
    1 row created.
    
    SQL> insert into e_table(emp_code) values('2222');
    
    1 row created.
    
    SQL> select * from e_table;
    
      EMP_CODE E E
    ---------- - -
          1111
          2222
    
    SQL> insert into e_emp(emp_code,emp_status,emp_type) (select emp_code,'0','N' from e_table);
    
    2 rows created.
    
    SQL> select * from e_emp;
    
      EMP_CODE E E
    ---------- - -
          1111 0 N
          2222 0 N
    
    SQL> 
    

    I hope this helps.

    Kind regards
    Claudy

  • import data into the table with the triggers of the sequence

    Hello

    I'm on oracle 11G on OS SPARC.

    I need to import a table from a dump using "imp."

    At the destination table where I have to import a 'insert before' with the sequence as the primary key.

    Suppose if I am importing data that has the sequence from 200... then when I imported the data into the new table, I have to define the sequence to be the same as the boot sequence for the source or it will automatically use this source sequence.


    Please suggest

    concerning
    Kkurkeja

    Disable the trigger prior to importation.

    Thank you

  • Reading file from the ftp server and importing data into the table

    Hi experts,

    Well, basically, I text with different layout files have been uploaded to an ftp server. Now, I must write a procedure to recover these files, read and insert data into a table... what to do?

    your help would be greatly helpful.

    Thank you

    user9004152 wrote:
    http://it.Toolbox.com/wiki/index.php/Load_data_from_a_flat_file_into_an_Oracle_table

    See the link, hope it will work.

    It is an old method, using the utl_file_dir parameter that is now obsolete and which is frankly a waste of space when external tables can do exactly the same thing much more easily.

  • How to load data into the table of correspondence in OIM 11 g

    Hello
    I have a lot of data that must be loaded into the table of choice as Codekey and decode. How can I load the data in bulk instead of manually via console Design?

    Is it possible to do? No API IOM or any what SQL query

    Kind regards
    JS

    Here's what you need to get.

    psLookupCode - search name,
    psValue - Code key
    psDescriptivevalue - DecodeKey

    The rest can be empty.

    addLookupValue

    void addLookupValue (java.lang.String psLookupCode,
    java.lang.String psValue,
    java.lang.String psDescriptiveValue,
    java.lang.String psLanguage,
    java.lang.String psCountry)
    throws Thor.API.Exceptions.tcAPIException,
    Thor.API.Exceptions.tcInvalidLookupException,
    Thor.API.Exceptions.tcInvalidValueException,
    tcAPIException adds a new entry for the specified search

    Parameters:
    psLookupCode - the Code for the definition of research
    psValue - the value that will be stored in the database
    psDescriptiveValue - a descriptive version of the value to be added
    psLanguage - the language for the added entry. Leave blank to accept the default value (en)
    psCountry - country for the specified entry. Leave blank to accept the default (US)

    Throws: tcAPIException tcInvalidLookupException - thrown if the search Code is no tcInvalidValueException - thrown if the value cannot be added to the list of choices (because it's a double, etc.)

    M

  • Load xml data into the table

    Hi all

    I have an XML (emp.xml) with data below:

    -< root >
    -< row >
    < name > steve < / lastname >
    < 30 > < / Age >
    < / row >
    -< row >
    < name > Paul < / lastname >
    <>26 < / Age >
    < / row >
    < / root >

    I would like to create a stored procedure to store the xml data into the EMP table.

    EMP
    LastName age
    Steve 30
    Paul 26

    I tried to watch all threads related to this forum, but cannot find the right wire. Any help is greatly appreciated. Thank you

    With

    SQL>  select * from xmltable('root/row' passing xmltype('
    
    steve
    30
    
    
    Paul
    26
    
    ') columns lastname path 'lastname',
                       Age path 'Age')
    /
    LASTNAME   AGE
    ---------- ----------
    steve      30
    Paul       26   
    

    You can now just make a

    Insert into emp as select...

  • Impossible to insert xml data into the table

    HII All,
    I'm unable to parse the following xml file and insert them into the table.


    Version of DB
    ======
    SQL> SELECT *
      2  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 Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    My DB Table
    Create table rgh_xml_storage
    (
    user_id       varchar2(4000),
    to_type          varchar2(4000),
    mail_id          varchar2(4000),
    subject         varchar2(4000),
    sentDateTime    varchar2(4000)
    )
    Published by: RUSSO April 7, 2011 04:19

    Hello

    Please provide all pertinent details!

    Please correct my insert if statement it must be.

    You have a few bad XPath.
    Here's a way to unnest correctly repeated elements:

    SQL> select x1.user_id,
      2         x1.subject,
      3         x1.sentDateTime,
      4         x2.to_type,
      5         x2.mail_id
      6         --x1.messageBody
      7  from xmltable(
      8    '/emailMessage'
      9    passing xmltype(bfilename('TEST_DIR','email.xml'), nls_charset_id('CHAR_CS'))
     10    columns user_id      varchar2(4000)  path 'headerInformation/sender/user/@userID',
     11            subject      varchar2(4000)  path 'headerInformation/subject',
     12            sentDateTime varchar2(4000)  path 'headerInformation/sentDateTime',
     13            messageBody  clob            path 'messageBody',
     14            my_xml       xmltype         path 'headerInformation/recipients'
     15   ) x1,
     16   xmltable(
     17    '/recipients/recipient'
     18    passing x1.my_xml
     19    columns to_type      varchar2(4000)  path '@type',
     20            mail_id      varchar2(4000)  path 'user/@emailAddress'
     21   ) x2
     22  ;
    
    USER_ID              SUBJECT                                          SENTDATETIME                   TO_TYPE   MAIL_ID
    -------------------- ------------------------------------------------ ------------------------------ --------- ------------------------------------------
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   to        [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   cc        [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   cc        [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   cc        [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   cc        [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   cc        [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   cc        [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   bcc       [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   bcc       [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   bcc       [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   bcc       [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   bcc       [email protected]
    RC58522              Re: CAA - Schlesinger ' Arnold   - LP01115771    Fri Oct 10 13:31:53 EDT 2010   bcc       [email protected]
    
    13 rows selected
     
    
  • Insert data into the table without using the insert or select the command

    Hello

    Is there anyway to insert data from one table to another table, without using insert, and then select the command in the same pattern.
    Note: the two tables have the same structure.

    ALTER table... Swap partition...

  • How to insert data into the table of plain text stored as a CLOB in another table

    Hi people,

    Maybe it's an easy question for someone who is more frequently used files and CLOB.

    I have a table that stores text files in the CLOB column. Files text includes some basic data that I want to load in the other - a text line = a new insert for me. Is there a "trick" how to do it effectively?

    Here is my model:

    Table OS_IMPORT_DOCS, stores the complete files as CLOB
    SQL> desc OS_IMPORT_DOCS
    Name          Type           Nullable Default Comments 
    ------------- -------------- -------- ------- -------- 
    OBJECT_ID     NUMBER                                   
    DATUM_ZMENY   DATE                    sysdate          
    FILE_PATH     VARCHAR2(4000) Y                         
    FILE_NAME     VARCHAR2(4000) Y                         
    FILE_SIZE     NUMBER         Y                         
    LAST_MODIFIED DATE           Y                         
    DOCUMENT      CLOB           Y                         
    STATUS        VARCHAR2(15)   Y        'NEW'  
    Sample data from OS_IMPORT_DOCS
    SQL> select *
      2    from os_import_docs d
      3  order by d.last_modified desc
      4  ;
     
     OBJECT_ID DATUM_ZMENY FILE_PATH                      FILE_NAME       FILE_SIZE  LAST_MODIFIED DOCUMENT    STATUS
    ---------- ----------- ------------------------------ --------------- ---------- ------------- ----------- ---------------
       1815043 13.8.2012 1 d:\data\C120813.DAT            C120813.DAT          16800 13.8.2012 16: <<CLOB>>    NEW
       1815042 13.8.2012 1 d:\data\C120812.DAT            C120812.DAT           3600 12.8.2012 22: <<CLOB>>    NEW
       1815041 13.8.2012 1 d:\data\C120811.DAT            C120811.DAT           1800 11.8.2012 13: <<CLOB>>    NEW
    Example of file CLOB - stored text data (select d.document from os_import_docs d where d.object_id = 1815042 ;)
    061053120820120000AGT000002Osoby                   0000000042301000000017210632
    062322120820120000AGT000002Osoby                   0000000012301000000017197566
    063526120820120001AGT000002Osoby                   0000000012301000000017197566
    064234120820120001AGT000002Osoby                   0000000103301000000162218777
    Above the example text includes "columns" in plain text:
    timestamp - 1-14, SSMIHH24DDMMYYYY position format
    flag - post 15-18
    company code - position 19-27
    etc...

    How can I query data stored within the OS_IMPORT_DOCS. The DOCUMENT column, divide it into columns and insert into another table?
    I have to read this method of 'online' file?


    Thank you very much
    Tomas

    For the first three columns:

    SQL> create type TRecord is object (
      2    ts           timestamp
      3  , flag         varchar2(4)
      4  , company_code varchar2(9)
      5  );
      6  /
    
    Type created
    
    SQL>
    SQL> create type TRecordTable is table of TRecord;
      2  /
    
    Type created
    
    SQL>
    SQL> create or replace function parse_clob (p_doc in clob)
      2  return TRecordTable pipelined
      3  is
      4    lf      number;
      5    eol     varchar2(2) := chr(10);
      6    eollen  number := length(eol);
      7    line    varchar2(32767);
      8    offs    number := 1;
      9  begin
     10    loop
     11      lf := dbms_lob.instr(p_doc, eol, offs);
     12      if lf != 0 then
     13        line := dbms_lob.substr(p_doc, lf - offs + 1 - eollen, offs);
     14        offs := lf + eollen;
     15      else
     16        line := dbms_lob.substr(p_doc, dbms_lob.getlength(p_doc) - offs + 1, offs);
     17      end if;
     18      pipe row (
     19        TRecord(
     20          to_timestamp(substr(line, 1, 14), 'HH24MISSDDMMYYYY')
     21        , substr(line, 15, 4)
     22        , substr(line, 19, 9)
     23        )
     24      );
     25      exit when lf = 0;
     26    end loop;
     27  end;
     28  /
    
    Function created
    
    SQL>
    SQL> select t.*
      2  from os_import_docs d
      3     , table(parse_clob(d.document)) t
      4  where d.object_id = 1815042;
    
    TS                                     FLAG COMPANY_CODE
    -------------------------------------- ---- ------------
    12/08/12 06:10:53,000000               0000 AGT000002
    12/08/12 06:23:22,000000               0000 AGT000002
    12/08/12 06:35:26,000000               0001 AGT000002
    12/08/12 06:42:34,000000               0001 AGT000002
     
    
  • Insert data into the table particular

    Hello

    I have a requirement to insert data from table from Oracle 10 g to Oracle 9i table.
    The pom_code table should be filled with gr_product table based on a specific schema of codes - i.e. If POM Code corresponds to a specific model, then it must belong to a specific company.
    FROM :: Oracle 10g database
    
    gr_product
    pr_code varchar2(20 byte)
    pr_desc varchar2(80 byte)
    To :: Oracle 9i database
    
    pom_code
    code      varchar2(12 byte)
    desc      varchar2(100 byte)
    companyid Number
    1. All gr_product.pr_code with following pattern should go to pom_code.code and companyid =10
    
    a. <one digit><.><two digit><alphabet> ex code:  1.01A
    b. <one digit><.><two digit><alphabet><space><two alphabet> ex code: 1.01B ZF  
    
    2. All gr_product.pr_code with following pattern should go to pom_code.code and companyid =20
    a. <two digit><.><one digit><alphabet> ex code: 10.1A         
    b. <two digit><.><one digit><alphabet><space><two alphabet> ex code: 10.5A HR    
    
    3. All gr_product.pr_code with following pattern should go to pom_code.code and companyid =30
    a. <alphabet><.><two digit><alphabet>  ex code: B.42A
    b. <alphabet><.><two digit><alphabet><space><two alphabet> ex code: N.10B AT 
    Thank you
    Sandy

    Hello

    The CASE expression I posted earlier does what you want?
    If so, please mark the thread as "answered".
    If this isn't the case, after a complete script that people can run to recreate the problem and test their ideas. Includes TABLE of CASH and INSERT statements for some examples of data for all the tables, the results you want from these sample data and your request (or INSERT statement) using the CASE expression. Report where the code you posted does not have what you need and explain how to get good results in these places.

  • Insert data into the table from the flat Flie

    I have a flat file save in a directory on my server. I would like to read the data from the flat file and insert into a table on the stage. The flat file data as below
    01-02-03-04-05-06-07-08-09-10
    Suppose that Location_stage is my table and c1 is the column name.

    The data should be saved as follows


    Select * from location_stage

    C1
    ----
    01
    02
    03
    04
    05

    Any help will be appreciated.

    Thank you
    NS

    You can define an external table to read data from the file and a simple view to convert the string enclosed in columns:

    SQL> create directory ext_data as 'c:\';
    
    Directory created.
    
    SQL> create table ext_locations (
      2  loc varchar2(4000)
      3  )
      4  organization external
      5  (
      6  type oracle_loader
      7  default directory ext_data
      8  access parameters (
      9  records delimited by newline
     10  logfile ext_data:'ext_loc.log'
     11  fields terminated by ',' (loc)
     12  )
     13  location ('locations.txt')
     14  );
    
    Table created.
    
    SQL> select * from ext_locations;
    
    LOC
    -----------------------------------------------
    01-02-03-04-05-06-07-08-09-10
    
    SQL> create view location_stage as
      2  select regexp_substr(loc,'[^-]+',1,level) c1
      3  from ext_locations
      4  connect by level <= length(loc)-length(replace(loc,'-',''))+1;
    
    View created.
    
    SQL> select * from location_stage;
    
    C1
    ----------------------------------------------------------------------------
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    
    10 rows selected.
    

    Your data is stored only in the file...

    Max

  • Loading data into the table by file name

    Hi all

    I am new to ODI. I have a requirement of loading a flat file in oracle, as well as the name of the file in a single column of the table. This means that, if there are 10 rows of data from this file, then the extra column "FileName" to the table will be the name of the active file written 10 times. Please suggest how this can be achieved. I am able to do half of it but the file name is not filled.

    Thank you.

    Hello

    See the link below for dynamic fair value can be useful for you

    http://blogs.Oracle.com/dataintegration/2009/04/using_parameters_in_odi_the_dy_1.html

    Thank you
    Merlina.

  • 1 form, 2 actions to do: check the captcha and put data into the database

    Hello

    I am trying to create a registration page that puts the data entered by the user in a database. That part works: there is a connection to the database and the information is placed in the database correctly. To avoid spam, I would add captcha on the form. I've been looking at the possibilities of reCaptcha, and the result is the following: the image appears correctly and the image is renewed when you click on the link. But the problem is that this captcha can be controlled without adding "verify.php" action to the form. How can I, in Dreamweaver, add a second action to the form? In other words, what code should I replace the part "$editFormAction"? Or I think entirely in a bad way? This is the first time I use Dreamweaver, I also never worked with php before.

    Here is the code I have now (I'm sorry guys but I'm Dutch ):

    <?php require_once('Connections/Klantenlijst.php'); ?>
    <?php
    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;
    }
    }
    // *** Redirect if username exists
    $MM_flag="MM_insert";
    if (isset($_POST[$MM_flag])) {
      $MM_dupKeyRedirect="www.sint-jorishoeve.be";
      $loginUsername = $_POST['gebruikersnaam'];
      $LoginRS__query = sprintf("SELECT Gebruikersnaam FROM klantenlijst WHERE Gebruikersnaam=%s", GetSQLValueString($loginUsername, "text"));
      mysql_select_db($database_Klantenlijst, $Klantenlijst);
      $LoginRS=mysql_query($LoginRS__query, $Klantenlijst) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      //if there is a row in the database, the username was found - can not add the requested username
      if($loginFoundUser){
        $MM_qsChar = "?";
        //append the username to the redirect page
        if (substr_count($MM_dupKeyRedirect,"?") >=1) $MM_qsChar = "&";
        $MM_dupKeyRedirect = $MM_dupKeyRedirect . $MM_qsChar ."requsername=".$loginUsername;
        header ("Location: $MM_dupKeyRedirect");
        exit;
      }
    }
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    }
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "registreren")) {
      $insertSQL = sprintf("INSERT INTO klantenlijst (`Voornaam ruiter`, `Familienaam ruiter`, `Geboortedatum dag`, `Geboortedatum maand`, `Geboortedatum jaar`, `E-mailadres 1`, `Telefoon 1`, Gebruikersnaam, Paswoord) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['voornaam_ruiter'], "text"),
                           GetSQLValueString($_POST['voornaam_ruiter'], "text"),
                           GetSQLValueString($_POST['geboortedatum_ddag'], "int"),
                           GetSQLValueString($_POST['geboortedatum_maand'], "text"),
                           GetSQLValueString($_POST['geboortedatum_jaar'], "int"),
                           GetSQLValueString($_POST['e-mailadres_1'], "text"),
                           GetSQLValueString($_POST['telefoon'], "int"),
                           GetSQLValueString($_POST['gebruikersnaam'], "text"),
                           GetSQLValueString($_POST['paswoord'], "text"));
      mysql_select_db($database_Klantenlijst, $Klantenlijst);
      $Result1 = mysql_query($insertSQL, $Klantenlijst) or die(mysql_error());
      $insertGoTo = "aanmelden.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "registratie")) {
      $insertSQL = sprintf("INSERT INTO klantenlijst (`Voornaam ruiter`, `Familienaam ruiter`, `Geboortedatum dag`, `Geboortedatum maand`, `Geboortedatum jaar`, `Opmerkingen / Medisch`, `Voornaam contactpersoon 1`, `Familienaam contactpersoon 1`, `Contactpersoon 1 is`, `Voornaam contactpersoon 2`, `Familienaam contactpersoon 2`, `Contactpersoon 2 is`, `E-mailadres 1`, `E-mailadres 2`, `Telefoon 1`, `Telefoon 2`, `Telefoon 3`, Opmerkingen, Gebruikersnaam, Paswoord) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['voornaam_ruiter'], "text"),
                           GetSQLValueString($_POST['familienaam_ruiter'], "text"),
                           GetSQLValueString($_POST['geboortedatum_dag'], "int"),
                           GetSQLValueString($_POST['geboortedatum_maand'], "text"),
                           GetSQLValueString($_POST['geboortedatum_jaar'], "date"),
                           GetSQLValueString($_POST['opmerkingen_ruiter'], "text"),
                           GetSQLValueString($_POST['voornaam_contactpersoon_1'], "text"),
                           GetSQLValueString($_POST['familienaam_contactpersoon_1'], "text"),
                           GetSQLValueString($_POST['contactpersoon_1_is'], "text"),
                           GetSQLValueString($_POST['voornaam_contactpersoon_2'], "text"),
                           GetSQLValueString($_POST['familienaam_contactpersoon_2'], "text"),
                           GetSQLValueString($_POST['contactpersoon_2_is'], "text"),
                           GetSQLValueString($_POST['emailadres_1'], "text"),
                           GetSQLValueString($_POST['emailadres_2'], "text"),
                           GetSQLValueString($_POST['telefoon_1'], "int"),
                           GetSQLValueString($_POST['telefoon_2'], "int"),
                           GetSQLValueString($_POST['telefoon_3'], "int"),
                           GetSQLValueString($_POST['opmerkingen_contactpersoon'], "text"),
                           GetSQLValueString($_POST['gebruikersnaam'], "text"),
                           GetSQLValueString($_POST['paswoord'], "text"));
      mysql_select_db($database_Klantenlijst, $Klantenlijst);
      $Result1 = mysql_query($insertSQL, $Klantenlijst) or die(mysql_error());
      $insertGoTo = "http://www.sint-jorishoeve.be";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
    mysql_select_db($database_Klantenlijst, $Klantenlijst);
    $query_Contactenlijst = "SELECT * FROM klantenlijst";
    $Contactenlijst = mysql_query($query_Contactenlijst, $Klantenlijst) or die(mysql_error());
    $row_Contactenlijst = mysql_fetch_assoc($Contactenlijst);
    $totalRows_Contactenlijst = mysql_num_rows($Contactenlijst);
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Manege Sint-Jorishoeve</title>
    <style type="text/css">
    <!--
    body,td,th {
     font-family: Verdana, Geneva, sans-serif;
     font-size: 10px;
     color: #300;
     font-weight: bold;
    }
    body {
     background-color: #FF9;
     font-family: Verdana, Geneva, sans-serif;
     font-size: 12px;
     font-style: normal;
     line-height: normal;
     font-weight: normal;
     font-variant: normal;
     text-transform: none;
     color: #300;
    }
    a {
     font-family: Verdana, Geneva, sans-serif;
     font-size: 12px;
     color: #F90;
    }
    a:visited {
     color: #F90;
    }
    a:hover {
     color: #F90;
    }
    a:active {
     color: #F90;
    }
    h1,h2,h3,h4,h5,h6 {
     font-family: Verdana, Geneva, sans-serif;
    }
    h1 {
     font-size: 14px;
     color: #300;
    }
    -->
    </style>
    <script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationCheckbox.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationCheckbox.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css">
    <script type="text/javascript">
    <!--
    function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle)
    {
     Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
    }
    function MM_showHideLayers() { //v9.0
      var i,p,v,obj,args=MM_showHideLayers.arguments;
      for (i=0; i<(args.length-2); i+=3) 
      with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
        obj.visibility=v; }
    }
    //-->
    </script>
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <h1>Registreren</h1>
    <p><em>Let op: Dit is een registratie voor een volledig nieuwe account met nieuwe gebruikersnaam en paswoord.</em><em></em></p>
    <p><em>Indien u een persoon aan uw account wilt toevoegen (met dezelfde gebruikersnaam), doe dit via 'Mijn gegevens'.</em> </p>
    <p> </p>
    <script type="text/javascript">
    var RecaptchaOptions = {
     lang : 'nl',       
     theme : 'custom',
     custom_theme_widget: 'recaptcha_widget'
     };
        </script>
    <form action="<?php echo $editFormAction; ?>" method="POST" enctype="application/x-www-form-urlencoded" name="registratie" id="registratie" onSubmit="MM_showHideLayers('registratie','','hide')">
      <p><strong>GEGEVENS VAN DE TE REGISTREREN PERSOON</strong></p>
      <p>Voornaam*:
        <span id="sprytextfield9">
        <label>
          <input name="voornaam_ruiter" type="text" id="voornaam_ruiter" size="25" maxlength="50">
        </label>
      <span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldMaxCharsMsg">Hier kan u max. 50 karakters invullen!</span><span class="textfieldMinCharsMsg">Dit veld is verplicht in te vullen!</span></span> </p>
      <p>Familienaam*: <span id="sprytextfield10">
        <label>
          <input name="familienaam_ruiter" type="text" id="familienaam_ruiter" size="25" maxlength="50">
        </label>
        <span class="textfieldMaxCharsMsg">Hier kan u max. 50 karakters invullen!</span></span> </p>
      <p>Geboortedatum*: 
        <span id="sprytextfield11">
        <label>
          <input name="geboortedatum_dag" type="text" id="geboortedatum_dag" value="00" size="4" maxlength="2">
        </label>
        <span class="textfieldInvalidFormatMsg">Gebruik het aangegeven formaat aub.!</span><span class="textfieldMinCharsMsg">Gebruik het aangegeven formaat!</span><span class="textfieldMaxCharsMsg">Dit is geen geldige dag van de maand!</span><span class="textfieldMinValueMsg">Dit is geen geldige dag van de maand!</span><span class="textfieldMaxValueMsg">Dit is geen geldige dag van de maand!</span></span><span id="spryselect2">
        <label>
          <select name="geboortedatum_maand" id="geboortedatum_maand">
            <option selected> </option>
            <option value="Januari">Januari</option>
            <option value="Februari">Februari</option>
            <option value="Maart">Maart</option>
            <option value="April">April</option>
            <option value="Mei">Mei</option>
            <option value="Juni">Juni</option>
            <option value="Juli">Juli</option>
            <option value="Augustus">Augustus</option>
            <option value="September">September</option>
            <option value="Oktober">Oktober</option>
            <option value="November">November</option>
            <option value="December">December</option>
          </select>
        </label>
    <span class="selectRequiredMsg">Dit veld is verplicht in te vullen!</span></span><span id="sprytextfield12">
    <label>
      <input name="geboortedatum_jaar" type="text" id="geboortedatum_jaar" value="0000" size="8" maxlength="4">
    </label>
    <span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldInvalidFormatMsg">Dit is geen geldig geboortejaar!</span><span class="textfieldMinCharsMsg">Gebruik het aangegeven formaat aub.!</span><span class="textfieldMaxCharsMsg">Dit is geen geldig geboortejaar!</span><span class="textfieldMinValueMsg">Dit is geen geldig geboortejaar!</span><span class="textfieldMaxValueMsg">Dit is geen geldig geboortejaar!</span></span></p>
      <p><span id="sprytextfield13">
        <label>Opmerkingen / Medisch te weten:<span class="textfieldMaxCharsMsg">Hier mag u max. 100 karakters invullen!</span></label>
    </span>
        <input name="opmerkingen_ruiter" type="text" id="opmerkingen_ruiter" size="50" maxlength="100">
      </p>
      <p> </p>
      <p><strong>GEGEVENS VAN DE CONTACTPERSOON</strong></p>
      <p>Is de contactpersoon de te registreren persoon zelf *?
        <span id="spryselect4">
        <label>
          <select name="ja_nee" id="ja_nee">
            <option selected> </option>
            <option value="Ja">Ja</option>
            <option value="Nee">Nee</option>
          </select>
        </label>
      <span class="selectRequiredMsg">Dit veld is verplicht in te vullen!</span></span> </p>
      <p><em>Indien nee, specifiëer wie de contactpersoon is / contactpersonen zijn:</em></p>
      <p><strong>Contactpersoon 1: </strong></p>
      <p><em>Voornaam:     <span id="sprytextfield16">
        <input name="voornaam_contactpersoon_1" type="text" id="voornaam_contactpersoon_1" size="25" maxlength="50">
        <span class="textfieldMinCharsMsg">Dit is geen geldige voornaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></span><span>
        <label><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span><span class="textfieldMaxCharsMsg">Exceeded maximum number of characters.</span></label>
        </span> </em></p>
      <p><em>Familienaam: <span id="sprytextfield15">
        <label>
          <input type="text" name="familienaam_contactpersoon_1" id="familienaam_contactpersoon_1">
        </label>
      <span class="textfieldMinCharsMsg">Dit is geen geldige familienaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></span> </em></p>
      <p><em>Contactpersoon 1 is:
          <span id="spryselect3">
          <label>
            <select name="contactpersoon_1_is" id="contactpersoon_1_is">
              <option selected> </option>
              <option value="Ouder">Ouder</option>
              <option value="Andere familie">Andere familie</option>
              <option value="Geen familie">Geen familie</option>
            </select>
          </label>
    </span> </em></p>
      <p><strong>Contactpersoon 2:</strong></p>
      <p><em>Voornaam: <span id="sprytextfield7">
        <label>
          <input name="voornaam_contactpersoon_2" type="text" id="voornaam_contactpersoon_2" size="25" maxlength="50">
          <span class="textfieldMinCharsMsg">Dit is geen geldige voornaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></label>
    </span> </em></p>
      <p><em>Familienaam: <span id="sprytextfield8">
        <label>
          <input name="familienaam_contactpersoon_2" type="text" id="familienaam_contactpersoon_2" size="25" maxlength="50">
          <span class="textfieldMinCharsMsg">Dit is geen geldige familienaam!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></label>
    </span> </em></p>
      <p><em>Contactpersoon 2 is:
    <span id="spryselect1">
        <label></label>
        </span><span id="spryselect5">
        <select name="contactpersoon_2_is" id="contactpersoon_2_is">
          <option selected> </option>
          <option value="Ouder">Ouder</option>
          <option value="Andere familie">Andere familie</option>
          <option value="Geen familie">Geen familie</option>
        </select>
    </span><span>  <span class="selectRequiredMsg">Please select an item.</span></span> </em></p>
      <p> </p>
      <p>E-mailadres 1 *:
        <span id="sprytextfield6">
        <label>
          <input name="emailadres_1" type="text" id="emailadres_1" size="25" maxlength="50">
          <strong><em>      Kijk dit aub. na op typfouten!
        </em></strong></label>
        <em><strong><span class="textfieldInvalidFormatMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldMinCharsMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></strong></em></span></p>
      <p>E-mailadres 2: 
        <span id="sprytextfield5">
        <label>
          <input type="text" name="emailadres_2" id="emailadres_2">
        </label>
      <span class="textfieldInvalidFormatMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldMinCharsMsg">Dit is geen geldig e-mailadres!</span><span class="textfieldMaxCharsMsg">Hier mag u max. 50 karakters invullen!</span></span> </p>
      <p>Telefoon / GSM 1 *: 
        <span id="sprytextfield4">
        <label>
          <input name="telefoon_1" type="text" id="telefoon_1" size="20" maxlength="10">
        <em><strong>Kijk dit aub.   na op typfouten!</strong></em> </label>
        <span class="textfieldRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textfieldInvalidFormatMsg">Typ het telefoonnummer zonder streepjes of spaties in!</span><span class="textfieldMinValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMinCharsMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxCharsMsg">Typ het telefoonnummer zonder streepjes of spaties!</span></span></p>
      <p>Telefoon / GSM 2: 
        <span id="sprytextfield17">
        <label>
          <input name="telefoon_2" type="text" id="telefoon_2" size="20" maxlength="10">
        </label>
      <span class="textfieldInvalidFormatMsg">Typ het telefoonnummer zonder streepjes of spaties!</span><span class="textfieldMinValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxCharsMsg">Typ het telefoonnummer zonder streepjes of spaties!</span><span class="textfieldMinCharsMsg">Dit is geen geldig telefoonnummer!</span></span> </p>
      <p>Telefoon / GSM 3: 
        <span id="sprytextfield3">
        <label>
          <input name="telefoon_3" type="text" id="telefoon_3" size="20" maxlength="10">
        </label>
      <span class="textfieldInvalidFormatMsg">Typ het telefoonnummer zonder streepjes of spaties!</span><span class="textfieldMinValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxValueMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMinCharsMsg">Dit is geen geldig telefoonnummer!</span><span class="textfieldMaxCharsMsg">Typ het telefoonnummer zonder streepjes of spaties!</span></span> </p>
      <p>Opmerkingen ivm. contactpersoon: 
        <span id="sprytextfield2">
        <label>
          <input name="opmerkingen_contactpersoon" type="text" id="opmerkingen_contactpersoon" size="50" maxlength="100">
        </label>
        </span> </p>
      <p> </p>
      <p><strong>ACCOUNTGEGEVENS</strong></p>
      <p>Kies een gebruikersnaam *: 
        <span id="sprytextfield1">
        <label>
          <input name="gebruikersnaam" type="text" id="gebruikersnaam" size="25" maxlength="50">
        <em><strong>Kijk aub.  na op typfouten!</strong></em> </label>
        </span></p>
      <p><em>De gebruikersnaam moet tussen 6 en 50 karakters lang zijn en mag zowel letters als cijfers omvatten. </em></p>
      <p><em>Tip: gebruik uw e-mailadres als gebruikersnaam. Let op: de gebruikersnaam is hoofdlettergevoelig!</em></p>
      <p>Kies een paswoord *: 
        <span id="sprypassword2">
        <label>
          <input name="paswoord" type="password" id="paswoord" size="20" maxlength="15">
        </label>
      <span class="passwordRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="passwordMinCharsMsg">Het paswoord moet min. 6 karakters lang zijn!</span><span class="passwordMaxCharsMsg">Het paswoord mag max. 15 karakters lang zijn!</span><span class="passwordInvalidStrengthMsg">Het paswoord voldoet niet aan de voorwaarden!</span></span> </p>
      <p>Typ het paswoord opnieuw ter verificatie *: <span id="spryconfirm1">
        <label>
          <input type="password" name="paswoord_verificatie" id="paswoord_verificatie">
        </label>
      <span class="confirmRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="confirmInvalidMsg">De paswoorden komen niet overeen!</span></span></p>
      <p><em>Het paswoord moet tussen 6 en 15 karakters lang zijn, moet zowel letters als cijfers bevatten en mag geen</em></p>
      <p><em>speciale tekens bevatten. </em><em>Let op: het paswoord is hoofdlettergevoelig!</em></p>
      <p><em>Tip: schrijf het paswoord ergens op alvorens </em><em>het formulier te verzenden zodat u het niet vergeet. </em></p>
      <p> </p>
      <p>
        <span id="sprycheckbox1">
        <label>
          <input name="akkoord_privacy" type="checkbox" id="akkoord_privacy" value="akkoord">
        </label>
      <span class="checkboxRequiredMsg">Verplicht aan te vinken!.</span></span> Ik bevestig dat zowel de te registreren persoon als de contactpersoon het <a href="http://www.sint-jorishoeve.be/privacy.htm" target="_blank">Privacy Statement</a> gelezen </p>
      <p>hebben en hiermee akkoord gaan. </p>
      <p>
        <?php 
      require_once('recaptchalib.php'); 
      $publickey = "6Lce_ckSAAAAAAGhklRAs1KsXJ7-YxZAaoTldLyQ"; // you got this from the signup page 
      echo recaptcha_get_html($publickey);
      ?>
      <div id="recaptcha_widget" style="display:none">
       <div id="recaptcha_image"></div>
        <div class="recaptcha_only_if_incorrect_sol" style="color:red">Woorden komen niet overeen. Probeer opnieuw.</div>
        <span class="recaptcha_only_if_image">Typ de woorden in de afbeelding over *:</span>
        <span class="recaptcha_only_if_audio">Typ cijfers die u hoort:</span>
        <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" /><div>
        <a href="javascript:Recaptcha.reload()">Ik kan de woorden niet lezen, vernieuw de afbeelding.</a></div>
      </div>
      <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6Lce_ckSAAAAAAGhklRAs1KsXJ7-YxZAaoTldLyQ">
      </script>
      <noscript>
      <iframe src="http://www.google.com/recaptcha/api/noscript?k=6Lce_ckSAAAAAAGhklRAs1KsXJ7-YxZAaoTldLyQ" height="300" width="500" frameborder="0">
      </iframe>
      <span id="sprytextarea2">
      <textarea name="recaptcha_challenge_field" cols="40" rows="3" id="recaptcha_challenge_field"></textarea>
      <em><strong>Kijk  aub. na op typfouten!</strong></em> <span class="textareaRequiredMsg">Dit veld is verplicht in te vullen!</span><span class="textareaMinCharsMsg">Dit veld is verplicht in te vullen!</span></span>
      <input type="hidden" name="recaptcha_response_field" value="manual_challenge">
      </noscript>
       </p>
      <p><em>Tip: Gebruik de link 'Vernieuwen' indien u de woorden niet kunt lezen.</em></p>
      <p> </p>
      <p>
        <label>
          <input name="registreren" type="submit" id="registreren" onFocus="Highlight" onBlur="Highlight" onClick="MM_effectHighlight('registreren', 1000, '#F0F0F0', '#FFCC33', '#FFCC00', true)" value="Registreren">
        </label>
      </p>
      <input type="hidden" name="MM_insert" value="registratie">
    </form>
    <div class="tooltipContent" id="sprytooltip1">&gt; Klik om het formulier te verifiëren en u  te registreren.</div>
    <p> </p>
    <p> </p>
    <script type="text/javascript">
    <!--
    var sprypassword2 = new Spry.Widget.ValidationPassword("sprypassword2", {validateOn:["blur"], minChars:6, maxChars:15, minAlphaChars:1, minNumbers:1, maxAlphaChars:14, maxNumbers:14, minUpperAlphaChars:0, maxUpperAlphaChars:14, minSpecialChars:0, maxSpecialChars:0});
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"], minChars:6, maxChars:50});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {isRequired:false, validateOn:["blur"], minChars:0, maxChars:100});
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "integer", {validateOn:["blur"], isRequired:false, minValue:0, maxValue:9999999999, minChars:9, maxChars:10});
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "integer", {validateOn:["blur"], minValue:0, maxValue:9999999999, minChars:9, maxChars:10});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "email", {isRequired:false, validateOn:["blur"], minChars:7, maxChars:50});
    var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "email", {validateOn:["blur"], minChars:7, maxChars:50});
    var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:50});
    var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:50});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
    var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "none", {validateOn:["blur"], maxChars:50, minChars:1});
    var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10", "none", {validateOn:["blur"], minChars:1, maxChars:50});
    var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield11", "integer", {validateOn:["blur"], minChars:2, maxChars:2, minValue:1, maxValue:31});
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {validateOn:["blur"]});
    var sprytextfield12 = new Spry.Widget.ValidationTextField("sprytextfield12", "integer", {minChars:4, maxChars:4, validateOn:["blur"], minValue:1920, maxValue:2050});
    var sprytextfield13 = new Spry.Widget.ValidationTextField("sprytextfield13", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:100});
    var sprytextfield14 = new Spry.Widget.ValidationTextField("sprytextfield14", "none", {isRequired:false, validateOn:["blur"], minChars:0, maxChars:50});
    var sprytextfield15 = new Spry.Widget.ValidationTextField("sprytextfield15", "none", {minChars:0, maxChars:50, isRequired:false, validateOn:["blur"]});
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3", {validateOn:["blur"], isRequired:false});
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4", {validateOn:["blur"]});
    var sprytextfield16 = new Spry.Widget.ValidationTextField("sprytextfield16", "none", {validateOn:["blur"], isRequired:false, minChars:0, maxChars:50});
    var spryselect5 = new Spry.Widget.ValidationSelect("spryselect5", {isRequired:false, validateOn:["blur"]});
    var sprytextfield17 = new Spry.Widget.ValidationTextField("sprytextfield17", "integer", {validateOn:["blur"], isRequired:false, minValue:0, maxValue:9999999999, maxChars:10, minChars:9});
    var spryconfirm1 = new Spry.Widget.ValidationConfirm("spryconfirm1", "paswoord", {validateOn:["blur"]});
    var sprycheckbox1 = new Spry.Widget.ValidationCheckbox("sprycheckbox1", {validateOn:["blur"]});
    var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1", {validateOn:["blur"], minChars:1});
    var sprytooltip1 = new Spry.Widget.Tooltip("sprytooltip1", "#registreren", {useEffect:"fade", hideDelay:2});
    var sprytextarea2 = new Spry.Widget.ValidationTextarea("sprytextarea2", {validateOn:["blur"], minChars:3});
    //-->
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($Contactenlijst);
    ?>
    
    

    In your PHP code, replace-

    }
    $editFormAction = $_SERVER['PHP_SELF'];

    on this subject.

    }

    ?>

    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "registreren")) {

    // add your captcha verification code here ....

    // captcha most likely ends with a header command to relocate failed attempts, so make sure you add

    // an exit() command after that header.  Otherwise, allow the successful captcha to fall into the following

    // block of code.

    }

    do not neglect this closing brace

    ?>

    $editFormAction = $_SERVER['PHP_SELF'];

Maybe you are looking for

  • Kodak ESP C310 printer has stopped working

    the printer displays a code 3533 (paper jam) I checked the printer several times and there is no paper jam.  What can I do to fix this?

  • Windows Defender. Error: code 0x80072efd.

    Why I get this message every time I try to update my computer?Windows Defender can't check for definition updatesError: code 0x80072efd.

  • Compaq presario v6210US white screen

    I have a "compaq presario v6210US', which worked great for a while, then it just stops and restarted and the screen remained black. Now it keeps restarting itself, but the screen remains blakc. I can hear the fan and hard drive and any other works th

  • WRT610n &amp; Apple TV problems

    Hello Since I upgraded my WRT610n router to the latest firmware 1.00.03 B15 I'm unable to see the apple tv as a device in iTunes on any computer connected to the network (wired or wireless). I have apple TV on a multimedia network dedicated (only in

  • HP 6520: HP 6520 will not print black TEXT - will be pictures fine print

    I don't know what is happening with my HP 6520. I posted some time ago, thinking that it was just black as ink cartridge when I try to print a Word document, Internet Pages (any browser or operating system (I also have a Dell laptop, in addition to a