ok - thanks -- that makes sense and works.
On Feb 26, 2:35 pm, Marius wrote:
> Well it looks like you are submitting a non ajax form. You can easily
> use ajax forms.
>
> something like:
>
> def calcForm(xhtml:NodeSeq):NodeSeq = {
> SHtml.ajaxForm(Helpers.bind("f", xhtml,
> "age" -> S
Well it looks like you are submitting a non ajax form. You can easily
use ajax forms.
something like:
def calcForm(xhtml:NodeSeq):NodeSeq = {
SHtml.ajaxForm(Helpers.bind("f", xhtml,
"age" -> SHtml.text(ageVar.is.toString, v => ageVar(v.toInt)),
"male" -> SHtml.text(maleVar.is.t