[html-formfu] Submit button with a value and no name

Brian Cassidy brian.cassidy at nald.ca
Fri Jun 8 02:06:33 GMT 2007


Hey Gang,

I must be doing something incorrect, but here's what I'm trying to 
accomplish:

Typically i make submit buttons like this:

<input type="submit" value="Search" />

in the YAML config that gets translated to

- type: submit
   value: Search

However, if something is incorrect in the rest of the form, when it gets 
regenerated i get a blank submit button. Adding a name to the config 
makes it work, but it'd prefer to omit that key-value pair from the form 
data if i could.

Any ideas?

-Brian



More information about the HTML-FormFu mailing list