SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    show html with input fields

    I want to do A/B split testing within a single html page. I guess something like:

    50% of the time show this html - and 50% of the time show this html.

    However they are input fields with validation so I am thing if I were to do some kind of jQuery hide then the submit button wouldn't work. Any ideas on how to accomplish this?

    Thanks

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why can't there be two forms, each having their own submit button?

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to reuse the same code so they are essentially the same, but one needs to be hidden. Its not my code, I only have access to change the look CSS.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jan 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a way to accomplish this?


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
  •