Hi,

When using the date control in a dialog, I have configured it as
follows:

Date-interview
  controlType   date                            String
  description   Date of Interview               String
  label         Date of Interview               String
  name          date-interview          String
  time          false                           String
  type          Date                            String

If you try to open the dialog control and enter a date though, you get
the following javascript errors:
        missing ; before statement
          var cal_butt_date-3 = Calendar.setup({\n

        missing ; before statement
          mgnlShiftPushButtonClick(this);cal_butt_date-3.show()

This problem seems to go away if you change the value of the 'name' node
to anything without a '-' in it. So for, example 'dateinterview' is
fine.

Is this a bug, or are you not supposed to provide name values with a '-'
in? If so, should this apply to all controls?

Cheers,

Chris

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to