Skip to main content
Nintex Community Menu Bar
Question

Removing particular field editor row

  • July 9, 2024
  • 4 replies
  • 0 views
  • Translate

Forum|alt.badge.img+3

In the below screenshot, “Add New” button creates a new row to the model, which adds a new section to the page with 10 fields.

Let’s put the user added 3 rows, is there a way for the user to delete his second entry. I know you can’t add a button to a field editor, is there other component or other workaround.


0ddd55cc1c0b85c97f23577795518ac0bf15f70a.png

Did this topic help you find an answer to your question?
This topic has been closed for comments

Forum|alt.badge.img+20

Why not use a table? Seems like a better fit for this.

Translate

Forum|alt.badge.img+3

Thanks Pat … a table is definitely a better fit. However, this is a form that is sent to users outside the company and my client feels a table won’t be handy enough from usability perspective.

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

There is not going to be a declarative method to do this.  I agree with Pat that a table will be the best method to accomplish this.  You could even use a table with a drawer.  The drawer could have the field editor to capture all the user data and the table could have the “delete” row action button that would accomplish what you are trying to do.  An added bonus would be that multiple rows would appear collapsed into a simple summary. 

But… If you need to to use the field editor as you are showing above I believe you will need to write a custom field renderer.  This renderer would have some ui element (a link or a button)  whose “on click” action triggered an “abandonRow” method on the model object.   More information here. 

Translate

Forum|alt.badge.img+3

Thanks Rob … this covers it all.

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings