Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2008
    Posts
    218
    Plugin Contributions
    0

    Default Can't add <textarea> in form on my EZpage

    I would like to add a form on one of my EZPages. I have been successful adding other forms that have successfully inputed information to my e-mail.

    However, this time, I can't add a <textarea> to my ezpage. When I enter the line of code:

    <textarea cols="50" rows="4" name="Biography">Enter Text Here</textarea>
    Then I have the "submit stuff" below...
    After I click update in the admin EZpage, then everything after
    <textarea cols="50" rows="4" name="Biography">
    is erased and it doesn't work. Then my form looks all screwed up.

    Has anyone else had this problem or know why this happens? Or even better, know how to fix the problem?

    My the link to the form page is http://www.bendisskin.com/index.php?...age=page&id=25

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Can't add <textarea> in form on my EZpage

    Quote Originally Posted by sfklaas View Post
    I would like to add a form on one of my EZPages. I have been successful adding other forms that have successfully inputed information to my e-mail.

    However, this time, I can't add a <textarea> to my ezpage. When I enter the line of code:



    After I click update in the admin EZpage, then everything after
    is erased and it doesn't work. Then my form looks all screwed up.

    Has anyone else had this problem or know why this happens? Or even better, know how to fix the problem?

    My the link to the form page is http://www.bendisskin.com/index.php?...age=page&id=25
    I think ?? not sure but try including the form tags as well

    Code:
    <form> <textarea cols="50" rows="4" name="Biography">Enter Text Here</textarea> </form>
    ZC is XHTML and this element may need the form tags to function properly.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Mar 2008
    Posts
    218
    Plugin Contributions
    0

    Default Re: Can't add <textarea> in form on my EZpage

    If anyone can create a blank ezpage and add the code that Melanie listed above can see my problem. If you type this exactly and maybe type some <p> text after it:

    <form> <textarea cols="50" rows="4" name="Biography">Enter Text Here</textarea> </form>
    You'll notice that after you update and try to edit the code again, it deletes everything after the "Enter Text Here". Also, the button "update" doesn't work. And when I add a submit button with the code, it puts the submit button within the ezpage admin underneath the admin code. Is there anything I can do to prevent this? Whoever can figure this out may be the "chosen one". I've been stuck on this for weeks.

    the new link to the page is: http://www.bendisskin.com/index.php?...age=page&id=26
    (the link in my first post was removed)

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Can't add <textarea> in form on my EZpage

    Try adding the code to another file EG form.php and set it in the EZ page with a php include.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Mar 2008
    Posts
    218
    Plugin Contributions
    0

    Default Re: Can't add <textarea> in form on my EZpage

    As much as I would love to know exactly what your suggestion means (as i'm very excited that this could work), I'm sadly confused and lost. Is there a way you can explain it more in detail with some code that can be used as a template? More the better, and i'll thank you way ahead of time. I'm still a newbie when it comes to this stuff.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Can't add <textarea> in form on my EZpage

    Good idea, except that PHP doesn't work in ez-pages without some custom coding (which reportedly opens possible security holes).

    It might be possible to do this with some variation on the "adding boilerplate to descriptions" code... not sure.

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Can't add <textarea> in form on my EZpage

    Could use a define page or display the form in an Iframe too

    What vulnerability are you referring to as this would be a dedicated file include and not a ZC function?

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  8. #8
    Join Date
    Mar 2008
    Posts
    218
    Plugin Contributions
    0

    Default Re: Can't add <textarea> in form on my EZpage

    I will attempt a define page later tonight... Maybe that will do the trick! Any other suggestions are greatly appreciated! Thanks for everyone who is looking into this!

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Can't add <textarea> in form on my EZpage

    If you are really needing to have customers enter information that's entirely unrelated to products, then the custom form discussed and built in this thread might be a useful approach instead of trying to embed forms into pages that aren't intended for that purpose: http://www.zen-cart.com/forum/showthread.php?t=4855
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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. #10
    Join Date
    Mar 2008
    Posts
    218
    Plugin Contributions
    0

    Default Re: Can't add <textarea> in form on my EZpage

    Thanks for everyones help and suggestoins. I ended up just creating my form on a define page and everything works perfect!

 

 

Similar Threads

  1. Change a form field from TEXT to TEXTAREA? Short_Description module
    By JacobBushnell in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 19 Nov 2011, 05:43 PM
  2. EZpage stripping slashes Form php output
    By buildingblocks in forum General Questions
    Replies: 1
    Last Post: 5 Sep 2011, 10:19 PM
  3. Quick question - Can I add javascript to ezpage?
    By gourmets in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Jun 2009, 01:48 AM
  4. Can't add textarea in product description
    By spydercanopus in forum General Questions
    Replies: 7
    Last Post: 16 Mar 2009, 05:46 PM
  5. How to create a form on ezpage?
    By sfklaas in forum General Questions
    Replies: 4
    Last Post: 13 Jul 2008, 02:30 AM

Posting Permissions

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