Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Dynamic forms with CityScript and HTML

Not a question; I have got it working and think other people may enjoy it too.

My website is not yet online and will be in Dutch for now; but if people are interested, I can publish some CityScript/javascriptcode.

what I have:
  folder with trainings
  Each training is a article with Extra1=price and Extra2=dates (separated by ,)

Cityscript generates Javascript arrays (for the form) filled with all available training programs;  prices and dates. This is presented by the user as:
- from each training the registration link will automatically select that training
- in the form, a user can select/change training from a drop down list
  available dates for THE SELECTED training will be available from the next drop down list
- price for THE SELECTED training will be shown.

I think the code is pretty straight-forward so it is quite re-usable.

If anyone interested I can post a mini-.cty somewhere. Please let me know where.

Adriaan van den Brand
Friday, May 03, 2002

It's vill be great to get some more *.cty:-)

Michael Iversen

Michael Iversen
Thursday, May 16, 2002

*  Recent Topics

*  Fog Creek Home