Jump to content

elgordo1960

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Everything posted by elgordo1960

  1. Thanks but I really need help in achieving this, I have no idea how to go about changing the "submit" button to redirect the customer to the checkout. I'm using the ZenCart shopping cart and not having much luck with this problem on the ZenCart forum.
  2. On the site I'm working on, when the customer makes a purchase, they first click on "Add to cart" which takes them to the create account form. When they click on "Submit" button it logs the customer into the site. What I need the "Submit" button to do is take the customer straight to the checkout page. Any ideas how this might be achieved? Thanks. Gordon
  3. Thanks for the reply, can you tell me where to insert the code please? here is the code: <?php include_once( "20071001-6248.lib.php" ); ?> <html> <head> <title>PHP FormMail Generator - A tool to create ready-to-use web forms in a flash | Demo Template</title> <!-- <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"> --> <meta name="keywords" content="PHP FormMail Generator, phpFormMailGen, Customize Forms, phpFormMailGenerator,formmail.php, formmail.pl, formMail Generator, PHP, Generator, Backend Tool, phpFormGen, phpFormGenerator, anti-spam, web hosting"> <meta name="description" content="PHP formMail Generator - A tool to ceate ready-to-use web forms in a flash"> <style type='text/css'> .form_title{ color : #000000; font-size: 13px; font-family: verdana, Geneva, Arial, Helvetica, sans-serif; font-weight : bold; } .form_field { font-size : 13px; font-family : Verdana, Arial, Helvetica, sans-serif; color : #474747; font-weight : bold; text-align:left; } .form_text{ font-size : 11px; font-family : Verdana, Arial, Helvetica, sans-serif; color : #000000; } .text_box{ font-size : 11px; font-family : Verdana, Arial, Helvetica, sans-serif; color : #000000; width:200px; } .text_area{ font-size : 11px; font-family : Verdana, Arial, Helvetica, sans-serif; color : #000000; width:200px; height:60px; } .text_select{ font-size : 11px; font-family : Verdana, Arial, Helvetica, sans-serif; color : #000000; } .form_error{ font-size : 11px; font-family : Verdana, Arial, Helvetica, sans-serif; color : #ff0000; font-weight : bold; } .copyright{ font-size : 11px; font-family : Verdana, Arial, Helvetica, sans-serif; color : #000000; } .style1 {color: #006600} .style2 {font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #006600; font-weight: bold; text-align: left; } </style> </head> <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> <meta http-equiv="content-type" content="text/html; charset="> <!-- ------------------------ Begin: Your FormMail's Description ------------------------ --> <br><br><br> <table width="100%" border='0' align='center' cellpadding='0' cellspacing='16' ><!--DWLayoutTable--><tr><td width="100%"> <font class='form_title style1'>Contact Deborah</font> </td> </tr></table> <!-- ------------------------ End: Your FormMail's Description ------------------------ --> <!-- ======================= Begin: Form Generated By PHP FormMail Generator ======================= --> <?php if( !$isHideForm ): global $sErr ; if( $sErr ) print "<br><a name='error'></a><center><font class='form_error' >$sErr</font></center><br>"; $starColor = $sErr ? "#ff0000" : "#000000"; $style=" class='form_text' "; ?> <form name="frmFormMail" action="<?php print PHP_SELF ?>" method='post' enctype='multipart/form-data'> <input type='hidden' name='formmail_submit' value='Y'> <input type='hidden' name='esh_formmail_recipient' value="deborah@deborahpollington.com"> <input type='hidden' name='esh_formmail_subject' value="Photos"> <input type='hidden' name='esh_formmail_cc' value=""> <input type='hidden' name='esh_formmail_bcc' value=""> <input type='hidden' name='esh_formmail_return_subject' value=""> <input type='hidden' name='esh_formmail_return_msg' value=""> <input type='hidden' name='esh_formmail_mail_and_file' value=""> <input type='hidden' name='esh_formmail_charset' value=""> <table border='0' cellpadding='0' cellspacing='16' bgcolor="#CCF4C1" > <tr> <td align='right' valign='top' class="style2">Your email address </td> <td width='10' aligh='right' valign='top'></td> <td class="form_text"> <input type="sender's email" name="Your_email_address" value="<?php print HtmlSpecialChars( $HTTP_POST_VARS[ "Your_email_address" ] ); ?>" class='text_box'> </td> </tr> <tr> <td align='right' valign='top' class="style2">Your Message Here </td> <td width='10' aligh='right' valign='top'></td> <td class="form_text"> <textarea name="Your_Message_Here" rows=4 cols=25 ><?php print HtmlSpecialChars( $HTTP_POST_VARS[ "Your_Message_Here" ] ); ?></textarea> </td> </tr> <tr><td colspan=3 align='center'><input type='submit' value='Submit'> <input type='button' value='Cancel' onClick="location.href='/';"></td></tr> </table> </form> <!-- ======================= End: ======================= --> <?php if( $sErr ) print "<script language='javascript' type='text/javascript'>location.href='#error';</script>";;; else: //!$isHideForm print( "<br><br><hr><center><b>Your email has been sent. Thank you.</b><br><br><input type='button' value='Home' onclick=\"location.href='/';\"></center><br><br>" ); endif; //!$isHideForm ?> <!-- -------------------------------------- COPY RIGHT -------------------------------------- --> <br><br> <br> <br><br> </body> </html>
  4. Hi I have just created a formail.php but it opens full page, I would like it to open in a new window but much smaller. here is the url: http://www.deborahpollington.com/ini/contactform.php Thanks, Gordon.
  5. I have been given the solution from another forum the HTML code for the GBP symbol, which is: & #163; remove the space between & and # worked for me.
  6. Great its working (well nearly) just need a bit of tweaking. Thanks for all your help. btw when I use a £ in text on a php file eg £2.49, it displays as A£2.49 (A with squiggle on top) how can this be avoided. Ta Gordon
  7. That method doesn't work...but the first method you suggested nearly works...but instead of going to the url (I used google as a tst) this is the amendment....<?php echo zen_draw_form('create', zen_href_link('http://www.google.com', '', 'SSL')); ?> this is the result https://www.actorxfactor.co.uk/index.php?main_page=http://www.google.com close but no cigar
  8. I think this is the script that defines the "CREATE_ACCOUNT" BUTTON ?? <?php echo zen_draw_form('create', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CREATE_ACCOUNT, BUTTON_CREATE_ACCOUNT_ALT); ?></div> </form> </fieldset> If that's correct, how should I amend/replace the script to tell the button to go to a specific url ? I appreciate any help as I'm really clutching at straws here!
  9. Hi, thanks for an amazingly quick reply. Sorry it didn't work...I think I left out some of the code..here is the complete line. <?php echo zen_draw_form('create_account', zen_href_link('http://www.actorxfactor.co.uk/index.php?main_page=document_product_info&cPath=17&products_id=33', '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"') . zen_draw_hidden_field
  10. Hi, first post, be gentle I have a "create account" button on my site which I would like to change the properties so it goes to a particular URL when clicked and not to the create account form. I think the following is the script I need to alter, but I could be way off the mark as I am very new to php. tpl_login_default.php <?php echo zen_draw_form('create', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CREATE_ACCOUNT, BUTTON_CREATE_ACCOUNT_ALT); ?></div> </form>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.