[racket] Web input-string with pre-fllled value

From: Mark Carter (mcturra2000 at yahoo.co.uk)
Date: Wed Aug 25 04:01:05 EDT 2010




----- Original Message ----
> From: Nadeem Abdul Hamid <nadeem at acm.org>
> To: Mark Carter <mcturra2000 at yahoo.co.uk>
> Cc: users at racket-lang.org
> Sent: Tue, 24 August, 2010 19:33:05
> Subject: Re: [racket] Web input-string with pre-fllled value
> 
> >
> > I would like to pre-fill the VAT Rate input-string with a rate (set  to 17.5 
>as a
> > default). Is there a way I can do that?

> You  probably have to define your own formlet...

> Use a value  attribute: ...

Sweet! Many thanks. I've decided to mess around with websites. I'm quite 
comfortable with Python (I'm not familiar with any of its web frameworks, 
though), but Scheme/Lisp sounded like it would be more fun. Lisp turned out to 
be an exercise in frustration, and it didn't seem like the game was worth the 
candle. Racket has a much more pleasing "out-of-the-box" experience. I'm 
currently overwhelmed by its framework, but hopefully I should be able to tame 
it as I try to work through what I need.



      


Posted on the users mailing list.