Hi, just thought it would be a better UX if we alerted them on

node/[nid]/webform/components/[cid]/delete

That deleting a component will cause all the data stored about that component to be deleted (Because of DB constraints), they can make the field private to avoid it.

I'm happy to implement and submit a patch.

Comments

quicksketch’s picture

Sure, we could make the error message a little more verbose, though I think it's already fairly clear that deleting a component is going to delete the related data too.

Our current message is:

This will immediately delete the %name component from the %webform webform. This cannot be undone.

How about changing it to:

This will immediately delete the %name component and all its data from the %webform webform. This cannot be undone.

Is that clear enough?

I don't think proposing private components as an alternative needs to be offered.

DanChadwick’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closing for lack of activity. I think it is pretty obvious that if you delete a component, you delete the data.