- AndresAsked on March 07, 2012 at 10:51 AM
- sarfaraz0075Answered on March 07, 2012 at 11:15 AM
Please check the following thread:
- agarcia4Answered on March 07, 2012 at 11:34 AM
Well, I am not sure that is exactly what I am asking. Sorry if the question was a little vague, I happened to forget to put additional information and you guys do not have a way of editing posted questions. I am trying to make a student form in which the students put in the courses they are taking or already took. I want for there to be a way to add a button or link that would add another "course field" below the last one that exists. This way the default is to have only one course field, and students can click a link and add one by one (as many times as they want), thus letting them input as many courses as they have taken. Is this possible or would I have to actually program this part?
- SeanDavisAnswered on March 07, 2012 at 12:46 PM
I don't think jot form is designed to create fields on the fly, based on user input..
You can control display of fields based on user input(i.e. some fields are hidden till a user selects an option), however i do not see anything that creates new fields based on user input..
- fxrAnswered on March 07, 2012 at 01:18 PM
Yes, there is no way to dynamically add fields in the manner you describe.
A possible workaround which may not be suitable in all cases, is to could create Y amount of hidden fields, then based on user input, use condtions to show X number of those hidden fields.
- agarcia4Answered on March 07, 2012 at 03:32 PM
@fxr: I got it to work! :) Thank you. I had not noticed that you can add Conditions to the form. Thank you, the conditions work for now.
Now I have one more question, is there a way to add a number field without having the up and down arrows? Currently the conditions I have set only work for when the user types the number. If you use the arrows, the conditions do not work at all.
- ItalyTechAnswered on March 07, 2012 at 04:12 PM
I'm glad you've solved! We are at your disposal for further questions.
- agarcia4Answered on March 07, 2012 at 04:15 PM
Now I have one more question, is there a way to add a number field without having the up and down arrows? Currently the conditions I have set only work for when the user types the number. If you use the arrows, the conditions do not work at all. AND if I use a simple text field with the restriction of having only numerical input, the conditions are not set for numbers but for text. Therefore, if I use a regular text field, there is no way to check the number that is given by the user.
- fxrAnswered on March 07, 2012 at 04:25 PM
I know the amount of effort it takes to set up conditions in the manner you just have, but I feel using a dropdown menu for your 'Number of courses' field is the best way forward in this instance.
You are probably going to have to delete the exisiting conditions and recreate new ones once the new 'dropdown' menu field is in place.
- agarcia4Answered on March 07, 2012 at 04:30 PM
Oh ok. Thank you for all of your help. The JotForm Support Team has been very helpful and very quick at responding my questions. I appreciate you recommending a better solution. I will definitely try it out.
- fxrAnswered on March 07, 2012 at 05:11 PM
Always good to hear when someone manages to figure out a way to provide a certain type of functionality on his form which at first glance appears a little beyond JotForms current toolset.