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

Daisuke Maki daisuke at endeworks.jp
Fri Jun 8 06:19:44 GMT 2007


Haven't test it, but how about

   - type: submit
     attributes:
       value: Search

?

--d

Brian Cassidy wrote:
> 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
> 
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
> 




More information about the HTML-FormFu mailing list