web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : qNq34vk8sRklkDNEnyNbC2
Power Pages - Power Apps Portals
Answered

(In portals) Dynamically add a new control (text input for example) after clicking a button

Like (0) ShareShare
ReportReport
Posted on 2 Jan 2020 02:17:15 by

Hi! In the portals, when I enter a text box, I feel like I need a second one.Can I add a new button to create the same second text box?See pictures for details.Thank you for your help!

I have the same question (0)
  • Verified answer
    Sandeep Dhanrajani Profile Picture
    on 02 Jan 2020 at 05:21:01
    Re: (In portals) Dynamically add a new control (text input for example) after clicking a button

    Yes you can add another text box but I'd ask what is it that you are trying to achieve since there can be more ways to do this. e.g.

     

    If your scenario is only limited to exactly one additional text field then you can achieve it by having that additional 'Additional Agent Name' field and another boolean field say 'Add more - Yes / No' configured as fields on the entity and put on the entity form as well.  Then using JavaScript on the entity form you can have the 'Additional Agent Name' field show or hide based on the respective value of the boolean field. 

     

    However if your scenario demands multiple additional 'Agent Name' fields and can go up to 'N' in that case I'd suggest capturing Agents in another entity and having the relationship configured with your primary entity in a 1:N way, so that you can show the Agent subgrid on your primary entity form.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Pages

#1
Jon Unzueta Profile Picture

Jon Unzueta 107 Super User 2025 Season 2

#2
KevinGador Profile Picture

KevinGador 34 Super User 2025 Season 2

#3
SwatiSTW Profile Picture

SwatiSTW 24 Super User 2025 Season 2

Last 30 days Overall leaderboard