#20 HTML5 Form types

General
open
nobody
None
5
2013-04-26
2013-04-25
Glaucio Scheibel
No

Jericho 3.3 doesn't recognize the new form types from html 5 specification.


when is parsed, we receive this error:
SEVERE: (r15,c25,p381): INPUT control with unrecognised type "number" assumed to be type "text"

Discussion

  • Martin Jericho
    Martin Jericho
    2013-04-26

    Hi Glaucio,

    Despite this being reported as a "severe" error, the parser treats these inputs as normal text inputs which should produce the expected results.

    The form analysis functionality is not widely used so I would not be inclined to spend a lot of time comprehensively updating it with all the new HTML5 input types. If you can let me know any specific issues you encounter other than the log message I am willing to address them.

    I'm also interested to know how you are using this functionality.

    Cheers
    Martin

     
  • Hi Martin,

    Thanks for the fast reply.
    I'm developing a function that parse a html form file and create a database table based on the form fields, so if the form field is text, it'll become varchar in database, if the form field is number, also number in database and so on.

    Thanks
    Glaucio