Re: [Lift] Dynamic fields in lift forms

70 views
Skip to first unread message

Diego Medina

unread,
Aug 30, 2012, 12:47:12 PM8/30/12
to lif...@googlegroups.com
I think this may help you
https://fmpwizard.telegr.am/blog/adding-fields-dynamically-lift

Regards,

Diego

On Thu, Aug 30, 2012 at 12:31 PM, Vivek Khurana <hidden...@gmail.com> wrote:
> Hi!
>
> I have an application where certain fields in a form may hold more than one
> value. For example, the Book creation form may have multiple Authors. These
> author can be either a text box or an autocomplete. The fields need to be
> added dynamically in the form i.e user should be able to click a button "Add
> Author" and another textbox or autocomplete shows up for adding the author.
> My problem here is that I am unable to figure out a way to 1) Keep count of
> number of authors added 2) Map this to database Mapper or Record ?
>
> regards
> Vivek
>
> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
>
>
>



--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com

Andrew Bucknell

unread,
May 22, 2017, 9:27:16 AM5/22/17
to Lift
Is the method described in the blog post still the best way to dynamically add fields?
Specifically I'm wondering if lift3 has a neater way to do it?

Matt Farmer

unread,
May 27, 2017, 11:20:47 AM5/27/17
to Lift
Hey, Andrew, did anyone respond to you here privately by chance?

Just noticed that there wasn't a response to this message on the list. Let me know! =)

---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages