Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Dynamic form hidden field

    Hi Isomorphic,

    I am not able to get the value of a hidden field using dynamic form. Since it is a primary key value, i don't want to display it in the form(UI). But if i make it as hidden field in datasource, i could not get the value. I am forced to display it in the form which is not necessary.
    Can you help me?

    Thanks.

    #2
    DynamicForm will track values for which there is no item.

    If you, for example, had records in a grid that include a primary key value and you use editRecord() to begin editing those records in a form, the primary key value will be tracked even if there is no item for it (hidden or otherwise) and will be sent as part of the saved data.

    Comment


      #3
      Hidden Field is not getting passed from Dynamic form

      Hi,
      I declared hidden field in Datasource as primary key and type as sequence.When I enter new record in Dynamic form, in the server side I am not getting new Hidden field value.It is coming as null.

      Please help me out.

      Comment


        #4
        vinodevs - can you clarify?

        Are you saying the value is not being passed to the server? That's expected and correct behavior for a sequence. The server generates the sequence value.

        Or do you mean that the value is not being returned from the server? In this case, if you are using SmartClient's SQL support, the value is normally returned. If you aren't, then you must have a bug in your server code.

        Comment

        Working...
        X