Hiding buttons in stateless forms is not supported. But now the script will not be saved and will throw error messages and the reason why the error message says variable not defined is that because buttons are not supported in script.
[Strike-through]I'll personally send you a bouquet of flowers the day you spend some time understanding our problem before you answer.[Strike-through]
The problem is that no edits are getting saved!
Sorry for the rudeness Mani. So unfortunately, the only fix we find to be working is to recreate the stateless form. This won't do! The fixes that Zoho is rolling out is breaking existing code. This is the third time this week that we've had to rewrite something. And that is incredibly frustrating