Page 13 of 26 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 259
  1. #121
    Join Date
    Apr 2008
    Posts
    39
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    Well it is your code so I am sure you are correct I will tinker with it a bit more.
    Mel

  2. #122
    Join Date
    Apr 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    thanks for this great addon! I am using the "become_dist_v1.03.zip" version.

    I was wondering if there would be a way to add a "upload picture" feature and have the photo emailed as an attachment with the rest of the email.

    I'm trying to hack my way through this but haven't been succesful. (not a php expert)

    I've tried looking at these

    http://www.html-form-guide.com/email...ttachment.html

    http://www.zymic.com/tutorials/php/c...-form-with-php

    and tried to come up with a frankenstein. no luck. any suggestions?

  3. #123
    Join Date
    Apr 2009
    Posts
    53
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    I need some help with fixing the formatting of this form:

    http://greenleafexhibits.com/index.p...age=contact_us

    I added the phone number contrib, and it seems to have worked fine, but it's formatting is messed up. Can someone tell me why it doesnt line up with the other entrys? I'd also like for it to be the same length. Once I get this resolved, I feel pretty confident I can add other fields, by duplicating the new phone entry lines in the files and changing the names.

    Thanks!

  4. #124
    Join Date
    Apr 2009
    Posts
    53
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    Nevermind. I found it in stylesheet_tm.css.... there was a 4px margin defined for the text area.

  5. #125
    Join Date
    Sep 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: custom forms - data collection

    header_php.php question(s)

    I'm trying to incorporate a three page form into my zen cart store and the problems I have are how to include include files and javascript.

    I'm pretty sure the .js should go into the
    includes/modules/pages/myformpage/jscript/myjs.js

    for includes I've tried to put them on this page:
    includes/modules/pages/myformpage/header_php.php
    as
    Code:
    include('path_to_my/include.php');
    also tried a variation with the file in the 'modules' directory and use this:
    Code:
    require(DIR_WS_MODULES . 'include.php');
    either way my custom page comes up blank

    same thing happens when I try to unset session variables in the header_php.php file or the tpl_myformpage_default.php file:

    Code:
    unset($_SESSION['myformvar']);
    can someone point me in the right direction? Where do I put these things?

  6. #126
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    8,843
    Plugin Contributions
    31

    Default Re: custom forms - data collection

    What a gem of a find!!! Got this working perfectly..

    I do have one question.. A little earlier in this thread there was a bit of discussion on making this for work with SSL.. The posted solution is not very clear.. Can anyone confirm if this for will work with SSL and/or how to make the band solution work with SSL.

    I'm wondering if accessing a form created using Dr Bytes solution via an EZ Page link (with SSL enabled) would be enough to do the trick??

  7. #127
    Join Date
    Jan 2004
    Posts
    60,313
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: custom forms - data collection

    To have the form process with SSL, you'd need to alter the zen_href_link parameters (I think it's the 3rd parameter that would need to be set to 'SSL') inside the zen_draw_form function call so that when the form's action parameter is produced it will contain the SSL URL instead. This will make the form be processed over SSL, regardless whether the URL in the browser is HTTPS or not.
    If you want the browser URL to contain HTTPS, then whatever links you have pointing to the page will have to be manually coded to be in HTTPS.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  8. #128
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    8,843
    Plugin Contributions
    31

    Default Re: custom forms - data collection

    Quote Originally Posted by DrByte View Post
    To have the form process with SSL, you'd need to alter the zen_href_link parameters (I think it's the 3rd parameter that would need to be set to 'SSL') inside the zen_draw_form function call so that when the form's action parameter is produced it will contain the SSL URL instead. This will make the form be processed over SSL, regardless whether the URL in the browser is HTTPS or not.
    If you want the browser URL to contain HTTPS, then whatever links you have pointing to the page will have to be manually coded to be in HTTPS.
    Thanks for the response. Hope you don't mind me imposing on your expertise for one more thing?? Could I ask you to grade my homework here??

    Is this the correct way to make this change?

    Code:
    <?php echo zen_draw_form('customer_questionnaire', zen_href_link(FILENAME_CUSTOMER_QUESTIONNAIRE, 'action=send', 'SSL')); ?>

  9. #129
    Join Date
    Jan 2004
    Posts
    60,313
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: custom forms - data collection

    Without going and actually studying the code, yes, that looks like it's probably correct.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  10. #130
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    8,843
    Plugin Contributions
    31

    Default Re: custom forms - data collection

    Quote Originally Posted by DrByte View Post
    Without going and actually studying the code, yes, that looks like it's probably correct.
    That's good enough for me! Just wanted to make sure that the syntax looked correct.. (I looked at the login form for a little guidance after reading you hint)

    Thanks again for the responses, and the awesome contribution!!! I hope the Zen Cart team enjoys the coffee I sent..

 

 
Page 13 of 26 FirstFirst ... 3111213141523 ... LastLast

Similar Threads

  1. custom survey forms
    By cpk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 May 2011, 05:07 PM
  2. Custom contact forms
    By raverX in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 18 Apr 2011, 04:45 PM
  3. Update Data With SQLScripts Created In Excel
    By JuxiZoza in forum Setting Up Categories, Products, Attributes
    Replies: 74
    Last Post: 23 Mar 2006, 05:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •