[web2py] Re: list-:string field and ajax

2016-02-29 Thread Pierre
thanks for the help Niphlod,

I guess this would require some expertise above my present knowledge. The 
book doesn't tell too much on the subject(customized widget). Also am 
almost finished with the view with some consistent javascript already in it 
sothat it seems to me I can manage with a simple *jQuery.post*

http://www.w3schools.com/jquery/ajax_post.asp


perhaps I misunderstood something but I should have 
*form.vars.liststring_field* in the view so it's just a matter of returning 
*form.vars.liststring_field[index]* to a web2py controller/function and to 
display the response somewhere

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: list-:string field and ajax

2016-02-28 Thread Niphlod
definitely your own widget with your own javascript. the default one has no 
such capability.

On Sunday, February 28, 2016 at 7:32:40 PM UTC+1, Pierre wrote:
>
> Hi everyone,
>
> trying to figure out how to return to server individual list:string 
> element(s) when form-errors occurs and the view knows what element(s) 
> caused error(s).
> Is this a job for web2py ajax /Jquery $ajax/ or a far-fetched idea ?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.