javascript - Add a not-predefined amount of input boxes to a webpage (and use that with Google App Engine) -


in gae it's easy set html page 1 (or other predefined number) of text input fields , deal data get. question how possible user start 1 text box, , using button (like "add more") add number of additional boxes wants.

i'm not sure both html implementation of (i think it'll require js, i'm pretty noob these stuff), , gae implementation of (how write code that'll accept arbitrary number of inputs?)

an answer either welcome; perhaps gae problem not problem. it'll easier me ponder on once html/js part right.

the answer depends on size of information expect. 1 option expando class add needed.

or easier implement if input small enough can away db.stringlistproperty , use object.append(var) add more fields in post.

you need use javascript create additional text boxes. loop through submission in post add data either option.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -