62 users online (1 members and 61 guests)  


  Results 1 to 3 of 3

Related

  1. Missing sections    Forum: Myspace Forum
    Replies: 0
  2. You may be missing out on sales or leads!    Forum: Affiliate Marketing and Reseller Programs
    Replies: 0
  3. I'm missing something...again.    Forum: CSS Forum
    Replies: 4
  4. I'm missing something...again.    Forum: HTML Forum
    Replies: 2
  5. Long sales copy versus short sales copy.    Forum: Website Promotion Forum
    Replies: 1
  1. #1
    CEK65's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2004
    Posts
    2

    Missing Copy In Form

    Hi,
    I have a viewing problem with a form after an error. Basically I have a credit card page that has the ship to info on the left and the billing info on the right. I have JavaScript that enable a check box to populate the credit field if the same as the billing fields. My problem is, if I leave out a required field, the error message appears on the same page, the shipping fields stay populated, but the billing fields are trunkated, ie.. Only the first name appears on the screen, but in viewing the source code the proper information is there. Any Ideas?

    here is my code:
    <form action="<field name=*PGMFLDS.pgmf_qpgmnam>" method="get">
    <table border="0" cellpadding="0" cellspacing="0" width="745">
    <input type="hidden" name="TASK" value="endchg">

    <tbody>
    <tr>
    <td width="365" valign="Top">
    <table border="0" cellpadding="0" cellspacing="0" width="365">
    <tr>
    <h2>Ship to Address:</h2>
    </tr>
    <TR>
    <H4><font color="#008B0D">Required Fields</font>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<font color="#0000CD">Required For Non-US Addresses Only</font></h4>
    </TR>
    <tr>
    <td>Prefix:</td>
    <td><select size="1" name="prefixbox">
    <option value=""></option>
    <option value="Mr.">Mr.</option>
    <option value="Ms.">Ms.</option>
    <option value="Mrs.">Mrs.</option>
    <option value="Mr. and Mrs.">Mr.and Mrs.</option>
    <option value="Dr.">Dr.</option></select></td>
    </tr>

    <tr>
    <td><B><font color="#008B0D">First Name:</font></B></td>
    <td><input type="text" name="PFFIRST" size="25" maxlength="25" value="<field name=PXSHIPTO.PFFIRST>"></td>
    </tr>

    <tr>
    <td><B><font color="#008B0D">Last Name:</font></B></td>
    <td><input type="text" name="PFLAST" size="30" maxlength="30" value="<field name=PXSHIPTO.PFLAST>"></td>
    </tr>

    <tr>
    <td>Title:</td>
    <td><input type="text" name="PFTITLE" size="40" maxlength="40" value="<field name=PXSHIPTO.PFTITLE>"></td>
    </tr>

    <tr>
    <td>Company:</td>
    <td><input type="text" name="PFCOMP" size="40" maxlength="40" value="<field name=PXSHIPTO.PFCOMP>"></td>
    </tr>

    <tr>
    <td><B><font color="#008B0D">Address 1:</font></B></td>
    <td><input type="text" name="PFADR1" size="40" maxlength="40" value="<field name=PXSHIPTO.PFADR1>"></td>
    </tr>

    <tr>
    <td>Address 2:</td>
    <td><input type="text" name="PFADR2" size="40" maxlength="40" value="<field name=PXSHIPTO.PFADR2>"></td>
    </tr>

    <tr>
    <td><B><font color="#008B0D">City:</font></B></td>
    <td><input type="text" name="PFCITY" size="30" maxlength="30" value="<field name=PXSHIPTO.PFCITY>"></td>
    </tr>

    <tr>
    <td><B><font color="#008B0D">State/Province:</font></B></td>
    <td><Func name="statebox"></td>
    </tr>

    <tr>
    <td><B><font color="#008B0D">Zip:</font></B></td>
    <td><input type="text" name="PFZIP" size="13" maxlength="13" value="<field name=PXSHIPTO.PFZIP>"></td>
    </tr>

    <tr>
    <td><B><font color="#0000CD">Country:</font></B></td>
    <td><Func name="countrybox"></td>
    </tr>

    <tr>
    <td>Day time phone:</td>
    <td><input type="text" name="PFPHONED" size="20" maxlength="20" value="<field name=PXSHIPTO.PFPHONED>"></td>
    </tr>

    <tr>
    <td>Shipping Method:</td>
    <td><select size="1" name="Shipbox">
    <option value="UPS Ground">UPS Ground</option>
    <option value="UPS 3 Day">UPS 3 Day</option>
    <option value=""UPS 2 Day">UPS 2 Day</option> <option value="UPS Next Day">UPS Next Day</option>
    <option value="DHL International">DHL International</option>
    </tr>
    </Table>
    </td>

    <td width="15" valign="Top">
    <table border="0" cellpadding="0" cellspacing="0" width="15">
    <tr>
    <td></td>
    </tr>
    </table>
    </td>

    <td width="365" valign="Top">
    <table border="0" cellpadding="0" cellspacing="0" width="365">
    <tr>
    <h2>Credit Card Information:&nbsp&nbsp&nbsp<IMG SRC="/cdimages/mc_brand_023_gif.gif" border="0">&nbsp&nbsp&nbsp<IMG SRC="/cdimages/visa1_37x23_a.gif" border="0"></h2>
    </tr>
    <tr>
    <h4>Check to use Shipping Information: <input type="checkbox" name="copy"OnClick="javascript:ShipToBillPerson(this.form);" value="checkbox"> </h4>
    </tr>


    <tr>
    <td><B><font color="#008B0D">Cardholder:</font></B></td>
    <td><input type="text" name="BLCDHDLR" size="40" maxlength="40" value=<field name=*WRKFLDS.blcdhdlr>></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">Address 1:</font></B></td>
    <td><input type="text" name="BLADR1" size="40" maxlength="40" value=<field name=*WRKFLDS.bladr1>></td>
    </tr>
    <tr>
    <td>Address 2:</td>
    <td><input type="text" name="BLADR2" size="40" maxlength="40" value=<field name=*WRKFLDS.bladr2>></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">City:</font></B></td>
    <td><input type="text" name="BLCITY" size="30" maxlength="30" value=<field name=*WRKFLDS.blcity>></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">State/Province:</font></B></td>
    <td><Func name="bstatebox"></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">Zip:</font></B></td>
    <td><input type="text" name="BLZIP" size="10" maxlength="13" value=<field name=*WRKFLDS.blzip>></td>
    </tr>
    <tr>
    <td><B><font color="#0000CD">Country:</font></B></td>
    <td><Func name="bcountrybox"></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">Card Type:</font></B></td>
    <td><select size="1" name="CRDTYP"><option value=""></option><option value="MC">Master Card</option><option value="VS">Visa</option></select></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">Credit Card Number:</font></B></td>
    <td><input type="text" name="ACNTNBR" size="40" maxlength="40" value=<field name=*WRKFLDS.acntnbr>></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">Expiration:</font></B></td>
    <td><Func name="monthbox"><Func name="yearbox"></td>
    </tr>
    <tr>
    <td><B><font color="#008B0D">Card Verification Number***:</font></B></td>
    <td><input type="text" name="CVV" size="4" maxlength="4" value=<field name=*WRKFLDS.cvv>></td>
    </tr>
    <tr>
    <td></td><td><i>*** The 3 rightmost digits on back of card in the signature panel</I></td>
    </tr>
    </table>
    </td>
    </tr>
    </tbody>
    </table>

    <br>
    <input type="image" SRC="/cdimages/process.jpg" border="0">
    </form>

    Thanks
    CEK65

  2. #2
    CEK65's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2004
    Posts
    2
    I figured it out. I forgot the Quote Marks around the Billing fields.
    Thanks to all who looked.
    CEK65

  3. #3
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    welcome to the forums, glad you got it figured out.



Tags for this Thread