Pregunta

I am writing a form that takes zip code input. Javascript code determines city & state based on zip code. I would like the city and state to appear on a 'results' page that is displayed when the user completes the form. I can only get Template Toolkit to display the form input params on the result page. Is there a way to get the city and state to appear?

¿Fue útil?

Solución

As @isherwood notes, without more detail it's hard to say.

But I would suspect you might want to have whatever does your Javascript city/state decoding push their results into some hidden or uneditable form fields, so they make the round-trip to your server and are available for the next round of TT rendering.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top