You right Richardo, I will do a dummy app... So less time impact on anyone who want to help!
I read at your code and no sure where you were going by the little change you made to the code I provide... I get back in a couples of minutes with dummy app. Richard On Tue, Mar 19, 2013 at 9:59 PM, Ricardo Pedroso <rmdpedr...@gmail.com>wrote: > On Tue, Mar 19, 2013 at 11:15 PM, Richard <ml.richard.vez...@gmail.com> > wrote: > > Hello, > > > > I wrote a typeahead autocomplete widget and work around many little > issues, > > but now I have one that I have no clue how to solve... > > > > You can find the code here : > > https://groups.google.com/d/msg/web2py/Fs-tAH75fGY/6VtZ32x6lMAJ > > > > When the form get submit and the validators trigger the input value key > or > > value label is cleared out, but the value of the hidden field stick so > there > > is no problem get the proper value in the database but it is kind of > anoying > > to the user to not see his value and didn't have validator error message. > > Hi Richard, > > You probably would have more and accurate answers if you made > a simple application with the problem. > > Based on the code you post and the comments I tried to replicate the > problem > you describe. > > Find attached a small and self contained application, > with your widget (with some little changes), and see if it's what you want. > If not, make a small, self contained application for us to try. > > To run it just drop in an someapp/controllers. > > Regards, > Ricardo > > -- > > --- > 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. > > > -- --- 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.