Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

And here is another trick you can do with it

Consider having a dimple simple form with 2 fields

 Image Added

One field is of type text and another of type checkbox

What I would like to do is to show the data from my form as a list, use inline edit and make only one field editable

 

 

 

...

formNamef

...

Something like this:

Image Added

And here is how the ListView is built up

Image Added

We mix ConfiForms Field macro with static reference using [entry.field_name]

Which helps us to achieve edit-ability for "checkbox" field and leave another field (or text field, called "tf", untouched)

ConfiForms Edit Controls macro is set to show inly Edit button and use inline edit mode 

...

 

...

...