Hi,

Thanks for taking the time to reproduce my problem, for explaining we me 
what causes it (basically setting readable and writable on fields I want to 
validate, isn't it)  and for providing me with a solution.

few tricks to solve: 
> - a custom onvalidation (of course). Doesn't get much to code over your 
> validator and works
> - including HubID as a hidden field (if you're willing to have HubID 
> "published" on the source page, the normal user wouldn't see this) form = 
> SQLFORM(db.tie, hidden=dict(hubID=6)) sends a hidden field "hubID" with 6 
> as value --> it's in request.vars --> the validator fires
>

I think the hidden field option is the easiest to implement, however, 
custom validation, prevents me from publishing the hubID ...


Thanks again,

Annet.

-- 



Reply via email to