We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13595
    • 11 Posts
    When EForm shows the form, all text fields have a "/" in them. It’s not in text areas.

    Does anybody have a clue what could cause this?

    (Evo. 1.0.4)
      • 5340
      • 1,624 Posts
      Can you post the output. input and textarea have a / in them for XHTML


      <input name="" />
      <textarea></textarea>
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Yeah, I’m using HTML 5 these days, and that peeves me a bit. Fortunately HTML 5 validates either with or without the extra slash.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 5340
          • 1,624 Posts
          So how do you like HTML 5?
          Is it working ok in IE 6 7 8?

          I’m planning the switch myself using html5.js + jquery + LESS(for CSS).

          Thx
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            I have no idea how it’s doing with IE of any flavor. Right now I don’t have access to any IEs. But so far I haven’t done anything unusual; I’m just using the elements more for the semantic structure than anything else. A bit of canvas eye candy here and there. I do like having my target="_blank" and other useful attributes be validated.

            By the time I’ve got a new machine and can run IE I’ll be familiar with it, and it will be easier to start working with the more exotic features. I’m sure my fancy CSS 3 styling isn’t working at all on IE, but I do try to make things so that they will be reasonably acceptable even without rounded corners, canvas gradients, and shadows.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 13595
              • 11 Posts
              Hi thanks.

              Ok first I was a little confused what I am supposed to do about it but I figured the problem can be solved by adding
              type="text"
              to

              <label for="name">Name: <span style="color:red;"> *</span></label><br />
                  <input maxlength="20" name="name"  eform="Name::1:" size="20"/>



              However, in Evo 1.0.3. and EForm 1.4.4.6 (the same EForm Version I am using now) it worked without adding this. Did anything change in Evo 1.0.4 in regard to this?
              (just tried to have a look at the change log of Evo 1.0.4 but the site doesn’t load)
                • 16702 ☆ A M B ☆
                • 536 Posts
                Quote from: cipa at Jul 10, 2010, 12:27 PM

                So how do you like HTML 5?
                Is it working ok in IE 6 7 8?

                I’m planning the switch myself using html5.js + jquery + LESS(for CSS).

                Thx

                ff 4 smiley, ie 9...etc.

                http://html5test.com/
                  palma non sine pulvere
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Well, it is supposed to have that, since there are a number of types of input fields (radio, checkbox, submit, reset).
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 18830
                    • 161 Posts
                    eForm just supports the traditional HTML input types. To make it work with the new ones of HTML5 just add in the eform.inc.php after

                    case 'text':
                    if($name=='vericode') return "<input$t value=\"\" />";
                    //else pass on to next
                    


                    (about line 856)

                    these lines

                    case 'email':
                    return "<input$t value=\"\" />";
                    //else pass on to next
                    case 'url':
                    return "<input$t value=\"\" />";
                    //else pass on to next
                    case 'date':
                    return "<input$t value=\"\" />";
                    //else pass on to next
                    case 'number':
                    return "<input$t value=\"\" />";
                    //else pass on to