Marlysson,
Thanks for the reply. I did figure out how to do it the web2py way. It was
not particularly intuitive, but now that I understand it, it makes sense
and is pretty powerful.
form=SQLFORM.factory(
Field('hostnames',"list:string",
I don't used the form.accepted but you could use to validate de submit the
form and handle.. but basically it's
Em sábado, 26 de novembro de 2016 20:20:58 UTC-3, Marlysson Silva escreveu:
>
> I created a other version for your code, I created a form html ( the hard
> way ) and in the
I created a other version for your code, I created a form html ( the hard
way ) and in the controller get the post vars sent by form:
The controller:
def form():
host_names = ["google","facebook","amazon","localhost"]
marcados = request.post_vars["host"]
return
I created a other version for your code, I created a form html ( the hard
way ) and in the controller get the post vars sent by form:
The controller:
def form():
host_names = ["google","facebook","amazon","localhost"]
marcados = request.post_vars
return
4 matches
Mail list logo