Subscribe: RSS
  • 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)
    • Can you post the output. input and textarea have a / in them for XHTML


      <input name="" />
      <textarea></textarea>
      • 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.
        • 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
          • 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.
            • 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)
              • Quote from: cipa at Jul 10, 2010, 05: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/
                  be KiWi, be gReen
                • Well, it is supposed to have that, since there are a number of types of input fields (radio, checkbox, submit, reset).
                  • 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