Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Auto generate new form fields in form builder?

Updated: 21 May 2010 | 2 comments
DrGonzo65's picture
0 0 Votes
Login to vote

So, I need to do something like this:  A user enters the page, and sees a drop down list of numbers.  If the select 1, then a row of text fields appear below, ready for input.  If they select 3, then 3 rows appear, ready for input.  I obviously can code this with javascript, but i need the forms to be recognizable by the form builder and I need to be able to submit that data, whether 1 row or 20 rows into a database (using an integration component).  Anyone have an idea how to make these dynamically created (and dynamically named) rows?

discussion Filed Under:

Comments

JAguiar626's picture
23
Oct
2009
0 Votes 0
Login to vote

I would use a GRID

I would use a GRID component.  Atleast the user could have the ability to add or remove rows as necessary.  You can define the Complex DataType in an integration project as an Array for your columns within the grid.

yliquor's picture
28
Oct
2009
0 Votes 0
Login to vote

I don't think this is possible in current workflow

Dynamic form building doesn't seem to be possible.  You could design the form in .net and then use the .NET libaray generator to use as your form in workflow.
I am working on doing this right now.  (If I work it out I will post how I got it all to work.)