Van C ha scritto:
> Can someone help with the TG autocomplete widget?  I've got it
> working, and now I'm trying to add a hidden field.  Here's the code
> I'm using, and the autocomplete works, but I don't know how to pass
> the list for the hidden field correctly.  And I  don't know how to
> poll the value of the hidden field once the user has made a
> selection.  TIA.
>
> What would be really great is if someone could post a working example,
> since all the Googling in the world only results in partial examples.
> Once I get this one working, I'll post the example for everyone's
> benefit.
>
> - Van
>
>   
The hidden_field what will contain?


i've done a lot of compound widget with hidden field.
With javascript i put the selected value in the hidden field, so when 
the page was returner for an error in validation, the on_load function 
get the hidden value and go to preselect  primary field.

Glauco



-- 
+------------------------------------------------------------+
 Glauco Uri  
 glauco(at)sferacarta.com 
                               
          Sfera Carta Software®       info(at)sferacarta.com
  Via Bazzanese,69  Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to