Forums

few glitches

GreyHead 09 May, 2009
Hi Lisa,

I don't know what DW is . . . but I think it is fairly normal that form box contents don't go to print.

In this case I think that you probalby need to use the confirmation page or a content page after the form is submitted which has the values embedded in the html and have the user print that.

Bob
zoom4267 09 May, 2009
Im sorry DW is Dreamweaver CS3, but good idea about having them print a conformation page, the values print but not all values get emailed though. the first few do, but the rest dont.
Max_admin 10 May, 2009
Hi Lisa,

Please check that all the data you need emailed are included in the email template of your setup email! if you updated the form then new updates may not be included in the template!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
zoom4267 11 May, 2009
oh, i see, Here is what is in the email template where i am having problems. im not sure how to fix them,

The email template:
I wish to purchase {} Gallons of heating oil at the fixed Price of {} Total $ price: {}

Payment is due in full with the signed contract and will be accepted by MOC only while supplies last.

Name {Name} Date {Date} Acct No {acct number}
Address {address} phone {phone} cell {cell}
Credit card number {CC number} expiration date {ex date}
EFT bank name {EFT bank} routing number {routing number}
Account number to be drafted from {account number to be drafted from} 


In Dream Weaver
 <div align="left"><span class="style1"><strong>I wish to purchase</strong>
      <input type="text" id="field1" size="7" />
              <strong> Gallons of heating oil at the fixed 
                
                Price of</strong> <strong>
                        <input type="text" id="field2" value="3.00" />
                  Total $ price:</strong>
                        <input type="text" id="ans" onfocus="document.getElementById('ans').value=document.getElementById('field1') .value*document.getElementById('field2').value" />
    </span></div>
<table width="821" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="29"><p align="left" class="style1"><strong>Name:
              <input name="Name" type="text" id="Name" size="40" />
            </strong></p></td>
            <td><span class="style1"><strong>Address:
                  <input name="address" type="text" id="address" size="50" />
            </strong></span></td>
          </tr>
          <tr>
            <td height="29"><span class="style1"><strong> Date:
                  <input name="Date" type="text" id="Date" size="12" />
            </strong></span></td>
            <td><span class="style1"><strong> Phone:
                  <input name="phone" type="text" id="phone" size="12" />
            </strong></span></td>
          </tr>
          <tr>
            <td height="29
            "><span class="style1"><strong> Cell:
                  <input name="cell" type="text" id="cell" size="12" />
            </strong></span></td>
            <td><span class="style1"><strong>Acct No:
                  <input name="acct number" type="text" id="acct number" size="40" />
            </strong></span></td>
          </tr>
          <tr>
            <td height="29"><span class="style1"> <strong>Credit card number:
              <label><strong><strong><strong>
              <input type="text" name="CC Number" id="CC Number" />
              </strong></strong></strong></label>
</strong></span></td>
            <td><span class="style1"><strong> Exp:
              <label>
              <input type="text" name="Exp Date" id="Exp Date" />
              </label>
</strong></span></td>
          </tr>
          <tr>
            <td height="29"><span class="style1"> <strong>EFT bank name:
              <label>
              <input type="text" name="EFT Bank" id="EFT Bank" />
              </label>
</strong></span></td>
            <td><span class="style1"><strong>Routing Number:
              <label>
              <input type="text" name="Routing Number" id="Routing Number" />
              </label>
</strong></span></td>
          </tr>
          <tr>
            <td height="29"><span class="style1"><strong>Account number to be drafted from:
              <label>
              <input type="text" name="Account" id="Account" />
              </label>
</strong></span></td>
            <td> </td>
          </tr>
        </table>


for the purchase, i have it coded in dreamweaver to calculate the price and gallons, but it wont come over to chronoforms.

here is what i have for the contact in chronoforms

Max_admin 12 May, 2009
Hi Lisa,

Is this code generated by DW ? which version so I don't use it!🙂 or did you change something ?

you have some fields with no name attribute and so you will not get any data from, example :
<input type="text" id="field1" size="7" />

<input type="text" id="field2" value="3.00" />
at the 2nd line of the code!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
zoom4267 12 May, 2009
I use dream weaver cs3 lol.

here is the code from DW
<div align="left"><span class="style1"><strong>I wish to purchase</strong>
      <input name="purchase" type="text" id="field1" size="7" />
              <strong> Gallons of heating oil at the fixed 
                
                Price of</strong> <strong>
                        <input name="Price" type="text" id="field2" value="3.00" />
                  Total $ price:</strong>
                        <input name="total price" type="text" id="ans" onfocus="document.getElementById('ans').value=document.getElementById('field1') .value*document.getElementById('field2').value" />
    </span></div>
GreyHead 12 May, 2009
Hi Lisa,

That name="total price" will cause problems. Technically spaces aren't permitted in html names and this will break ChronoForms - make it name="total_price"

Don't know about the printing though :-(

Bob
This topic is locked and no more replies can be posted.