You need to search for jquery cascading select.  I think there is something 
on web2pyslices too.  I went to check the latter but the internet/website 
was so slow I gave up.   Probably just a temporary slow-down.  D

On Monday, October 22, 2012 8:47:55 PM UTC+1, apinho wrote:
>
> Hello,
>
> Having :
>
> <form>
>     Countries :
>     <select name="countries" id="countries">
>         <option>Portugal</option>
>         <option>Spain</option>
>     </select>
>     Cities
>     <select name="cities"  id="cities">
>          <option>Lisbon</option>
>          <option>Barcelona</option>
>          <option>Madrid</option>
>          <option>Porto</option>
>     </select>
>  </form>
>
>
> How can I get a form that dynamically limits 'cities' options, according 
> to the chosen country ?
>  
> I mean : If user chooses Spain, he should only have Barcelona/Madrid 
> available.
>
> I guess it envolves 'onchange' html attribute, and some jquery, but I 
> google up and got no straight answers.
>
> Thank you
>
>
>

-- 



Reply via email to