Ah, I see what my problem is — the default was defined after the SQLFORM.grid()
in the controller, not before it. Works like a charm, no errors or issues.
As for onvalidation, I’ll give it a whirl and see how it goes. Thank you.
> On Mar 15, 2016, at 22:42, Anthony
On Wednesday, March 16, 2016 at 1:32:26 AM UTC-4, Vinyl
Darkscratch-Kazotetsu wrote:
>
> I see it now — I had assumed that you could set the default in the
> controller function, but it seems that it has to be in the model file.
> Thank you for your help on this issue.
>
No, default can be
I see it now — I had assumed that you could set the default in the controller
function, but it seems that it has to be in the model file. Thank you for your
help on this issue.
Still, though…I would like to know how to edit the variables submitted by the
form, and still unsure how to do that.
It doesn't seem like anyone else has run into this particular issue before.
I have an SQLFORM grid that is allowing my staff members on our website to
add links to their profile upon the crew page. An example is mine
at https://www.nightwave.me/crew?member=VinylDarkscratch
However, I found
4 matches
Mail list logo