Hello Alan,

I added this code to the view and it is still not working.  Can you post 
your working .w2p somewhere?  It makes sense that the select field that 
represents that stars is somehow disabled.

Hope to hear from you soon Alan!
Best,
M.G.

On Sunday, February 10, 2013 8:12:49 AM UTC-6, Alan Etkin wrote:
>
> > So the star rating is definitely not making its way back to the server.
>
> Right. This seems not to be a web2py issue: the plugin is setting a 
> disabled attribute for the rating input, so the field is omitted on 
> processing. I found a workaround, adding this to the view:
>
> {{=SCRIPT("""
> jQuery("form").submit(
>   function(){
>     jQuery("[name=rating]").removeAttr("disabled");
>   }
> );
> """)}}
>
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to