Did you try the code I posted without change? If yes, did it work?

Why are you changing the editformarfill code I suggested?