Create row block doesn't work

Hi,
this program works fine except for the create row block.
if I put it just after the click it works, but anywhere else it doesn’t. The two alerts work just fine. Anyone knows what’s wrong?

1 Like

Change this
image

with this
image