Menu

Changing fieldname

Help
gorhan
2004-03-19
2004-03-19
  • gorhan

    gorhan - 2004-03-19

    Is there a way of overriding the name of a field?
    The field name that has been generated is like f_43_0@root_0.

    When referring to the field in a form from another page it should be easier to be able to set the name manually.

    regards,
    gorhan

     
    • Henner Kollmann

      Henner Kollmann - 2004-03-19

      No, you can not override the fieldname. It's internally used inside dbforms.

      If you need to access the fieldnames from javascript you can set the javascriptFieldsArray property of the dbform tag to true.
      Then javascript code is generated to access the fields by their fieldname.

      For details see the docs.

      regards,
      Henner

       

Log in to post a comment.

MongoDB Logo MongoDB