[web2py] Re: How can I disable SQLFORM.factory() form button after clicking once?

2019-09-27 Thread Mark
Change the '{{=qtnBtn}}' into 'input', it should work. I guess the reference is wrong (not dynamic). On Friday, September 27, 2019 at 2:24:43 PM UTC-4, mostwanted wrote: > > Hey @Mark, thanks for replying but none of the solutions are working! I > fixed disabled & replaced attr() with prop() &

[web2py] Re: How can I disable SQLFORM.factory() form button after clicking once?

2019-09-27 Thread mostwanted
Hey @Mark, thanks for replying but none of the solutions are working! I fixed disabled & replaced attr() with prop() & ultimately with hide() but nothing seems to be working! On Friday, September 27, 2019 at 7:09:39 PM UTC+2, Mark wrote: > > 'disbled' should be 'disabled'. If it doesn't work, I

[web2py] Re: How can I disable SQLFORM.factory() form button after clicking once?

2019-09-27 Thread Mark
'disbled' should be 'disabled'. If it doesn't work, I think you can try to use hide(), or prop('disabled', true) On Friday, September 27, 2019 at 6:48:54 AM UTC-4, mostwanted wrote: > > I'm using SQLFORM.factory() to capture a specific detail but i want it to > be submitted once, to avoid the