I've implemented a JSON form similar to the one described in the Lift
book. I need two submit buttons, each triggering a different action.
So how to distinguish the submits? Unfortunately, the submit buttons
themselves are not taken into account for the transferred JSON so that
something like <input type="submit" name="save" value="Save"/> does
not work.

With a little bit of Javascript it may be possible to set a hidden
input field prior to JSON serialization, but the "normal" form-with-
multiple-submit-buttons approach would definitely be cooler.

Would it be possible to support this?

Cheers,
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to