diff paypal/lines_acrylic_clear.paylist @ 42:ef8615de8a9c laserkard

[svn r43] implemented form memory
author rlm
date Wed, 27 Jan 2010 22:04:43 -0500
parents 1ac1409ea68c
children 1045db9799e3
line wrap: on
line diff
     1.1 --- a/paypal/lines_acrylic_clear.paylist	Mon Jan 25 13:38:05 2010 -0500
     1.2 +++ b/paypal/lines_acrylic_clear.paylist	Wed Jan 27 22:04:43 2010 -0500
     1.3 @@ -105,42 +105,48 @@
     1.4  <!-- Start of Text Input Fields -->
     1.5  <br>
     1.6  Name:&nbsp;&nbsp;
     1.7 -<input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
     1.8 +<input type="text"  name="line_1b" size="20" id="Name" 
     1.9 +ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct'); updateForm(['args__Name', 'Name', 'formValues'] , ['formValues']);"
    1.10  
    1.11  >
    1.12  <!--   -->
    1.13  <br>
    1.14  <br>
    1.15  Occupation:&nbsp;&nbsp;
    1.16 -<input type="text" id="Occupation" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
    1.17 +<input type="text"  name="line_2b" size="20" id="Occupation" 
    1.18 +ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct'); updateForm(['args__Occupation', 'Occupation', 'formValues'] , ['formValues']);"
    1.19  
    1.20  >
    1.21  <!--   -->
    1.22  <br>
    1.23  <br>
    1.24  Company:&nbsp;&nbsp;
    1.25 -<input type="text" id="Company" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
    1.26 +<input type="text"  name="line_3b" size="20" id="Company" 
    1.27 +ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct'); updateForm(['args__Company', 'Company', 'formValues'] , ['formValues']);"
    1.28  
    1.29  >
    1.30  <!--   -->
    1.31  <br>
    1.32  <br>
    1.33  Phone:&nbsp;&nbsp;
    1.34 -<input type="text" id="Phone" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
    1.35 +<input type="text"  name="line_4b" size="20" id="Phone" 
    1.36 +ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct'); updateForm(['args__Phone', 'Phone', 'formValues'] , ['formValues']);"
    1.37  
    1.38  >
    1.39  <!--   -->
    1.40  <br>
    1.41  <br>
    1.42  Email:&nbsp;&nbsp;
    1.43 -<input type="text" id="Email" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
    1.44 +<input type="text"  name="line_5b" size="20" id="Email" 
    1.45 +ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct'); updateForm(['args__Email', 'Email', 'formValues'] , ['formValues']);"
    1.46  
    1.47  >
    1.48  <!--   -->
    1.49  <br>
    1.50  <br>
    1.51  Website:&nbsp;&nbsp;
    1.52 -<input type="text" id="Website" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
    1.53 +<input type="text"  name="line_6b" size="20" id="Website" 
    1.54 +ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct'); updateForm(['args__Website', 'Website', 'formValues'] , ['formValues']);"
    1.55  
    1.56  >
    1.57  <!--   -->