function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sylar2sylar2 

Create dynamic page layout

I am trying to create a page where i can have a package with two fields as services appearing by default.

 

It should look like:

 

Package 1:

 

Service: <Picklist>                       Service: <Picklist>

 

Cklick to ADD more services

<Adds one more line dynamically with option to add two more services just below it in the same page>

---------------------------------------------------------------------------------------------------------

Click to ADD more Package

 

 

 

Dont know how to work it out. Please Help

bob_buzzardbob_buzzard

I wrote a blog post a short while ago around this.  It was targetted at multiple file uploads, but you should be able to adapt it easily:

 

http://bobbuzzard.blogspot.com/2011/01/uploading-multiple-attachments-via.html

 

There's a link at the end that allows you to download the code.