Why are you specifying some by name and some by id? Do not use name. SHtml.text works by using an autogenerated name. If you're doing id and it doesn't work, does, say 'size' work?
------------------------------------- Madhav<[email protected]> wrote: i tried to put custom attributes in scala code but still its nt working. Auto calculation is'nt happening yet. my view source in browser shows <form method="post" action="/addition"> <fieldset> <legend>Addition</legend> <pre><p>text1 :<input name="F567656735301UY5" type="text" value="" / >: 1</p></pre> <pre><p>Text2 :<input name="F567656735302UA4" type="text" value="" / ></p></pre> <pre><p>result :<input name="F567656735303ZCZ" type="text" value="" /></p></pre> <input name="F567656735306I01" type="submit" value="ADD" /> </fieldset> </form> and my modified snippet code is : bind("form", xhtml, "text1" -> SHtml.text(text1, text1= _,"name"- >"sum"), "text2" -> SHtml.text(text2,text2 = _,"id"- >"sum"), "result" ->SHtml.text(result, result = _, "id"- >"totalsum","name"->"totalsum"), "submit" -> SHtml.submit(add, addit)) any ideas where am i going wrong or missing something?? On Jan 12, 11:34 am, Madhav <[email protected]> wrote: > Thanks Naftoli > i will just try your solution and come back. > > Madhav -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
-- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
