Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7504565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:36:58+00:00 2026-05-29T21:36:58+00:00

I have created an opportunity page layout in SalesForce.com and it is working fine.

  • 0

I have created an opportunity page layout in SalesForce.com and it is working fine. I have a situation where I need to add Airline information. I have created three fields and added these to the opportunity one by one; the HTML look like this:

<p>
     <label>
        <span>Airline 1:</span>
        <span style="margin-left: 120px;">Airline 2:</span>
        <span style="margin-left: 120px;">Airline 3:</span>
     </label><br>
     <input type="text" style="width: 150px;" class="text small" id="txtAirline" value="" name="txtAirline">
     <input type="text" style="width: 150px;" class="text small" id="txtAirline2" value="" name="txtAirline2">
     <input type="text" style="width: 150px;" class="text small" id="txtAirline3" value="" name="txtAirline3">
</p>

<p>
      <label>
          <span>PNR 1:</span>
          <span style="margin-left: 130px;">PNR 2:</span>
          <span style="margin-left: 130px;">PNR 3:</span>
      </label><br>
      <input type="text" style="width: 150px;" class="text small" id="txtPnr" value="" name="txtPnr">
      <input type="text" style="width: 150px;" class="text small" id="txtPnr2" value="" name="txtPnr2">
      <input type="text" style="width: 150px;" class="text small" id="txtPnr3" value="" name="txtPnr3">
</p>

Now, instead of adding filed for Airline and PNR again and again, I would like to add an “Add more” link which would create a clone of both fields and add it below one by one.

Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:37:01+00:00Added an answer on May 29, 2026 at 9:37 pm

    The problem will be with binding. It would be fairly easy to write some Javascript that would do exactly what you want when they click a button but how will that data get back to the controller?

    Perhaps you can try the following:

    Create a custom object for the airline information. It can have whatever info you need. It will need to be tied to the Opportunity object via a relationship field (perhaps a Master-Detail type). In your opportunity you can then add a related list of airline information. MAke sure you add the airline info as part of the Layout. SFDC will handle most of the UI for you at that point – so it won’t look exactly as you have it set up – but it will do what you want to do.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a custom post type named People. I have created a page
I have a tab called Buyer's Wish List in opportunity. I have leads created
I have created a (many-to-many ) relationship between Opportunity and a custom entity. CRM
I'm struggling with this situation.. I have a Standard Object in SFDC (Opportunity) that
I have created a QWidget with a bunch of QToolButtons in it and I
I have created 3 classes as following Ext.mine.TextParent - Inherting from Textfield Ext.mine.child.TextChildA -
I have created some JQuery that will expand a div 'popup' on hover and
I have created a JSP / servlets application running in Tomcat 7. It runs
I have created an EDMX in visual studio 2010 SP1. It has been built
I have created an android application that calls (using kSOAP library) a SOAP based

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.