Correct way of posting a request inside a gridview column

Hi everyone,

I’m struggling to get the correct way of collecting user input inside a gridview column, still benefiting from validation.

Simple use case is having a gridview and one of the columns allows the user to do some action (like delete) and he must have an input to specify the reason.

I also don’t want to create a view page only for this reason.
My only approach so far is creating an activeform inside the column but I’m unable to do it so far.

Thank you

Use popup for it