Announcement

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

    Dynamic Form custom Field Rendering

    I'm using Dynamic Form to render a selected Record from a Data Set. All is good except for the layout.

    The Record contains two fields that need to be presented together on the same row in the form. e.g. a number field and a drop down field such as to produce a composite field allowing the user to enter a number (for a quantity) and then select something from a drop down (for a type of that quanity). So for example "1 day" or "3 months".

    This is very similar to the provided Calendar type.

    I've experimented with increasing the Form's column count to 4 and prematurely ending the rows of most of the records, but this doesn't layout so well. I guess I'm really looking for a what to define a custom composite field renderer type based on two underlying dataset fields, complete with a validator. The closest I've seen is ZipCodeUSType extending SimpleType which is a good start but that only has one field to display.

    Any ideas on how to proceed? I would think that this problem occurs quite often when dealing with non-trivial forms and their layout.
Working...
X