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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Adding extra content w...
Power Pages
Answered

Adding extra content within each step in a multistep form

(0) ShareShare
ReportReport
Posted on by 55

Hi all,

 

I would like to add some extra HTML content, e.g. images, styled text etc., within some steps in a multi-step form.  Is that possible?

 

Something like reading a T&C and clicking [Read and Understood], so [Read and Understood] is the field in the form and the T&C content is something I would like to add before the input field.  

 

I have tried to use achieve this by adding the description/instruction, but I can't find a way to convert the extra content into a HTML, or at least a rich text format.

 

Please help.  Thanks in advance.  

Categories:
I have the same question (1)
  • Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at

    Hi @JefferyTam ,

     

    In Power Pages, you can add your additional changes like text with styles, privacy statement or declaration text etc. using jQuery. Navigate to your content page -> Advance and add your code there. Here is an example how I did in one of my projects.

     

    saudali_25_0-1689795802062.png

     

    jQuery how I added:

     

    $('<div class="gf_browser_chrome gform_wrapper" id="consentpersonalinformation">\
     <li class="gfield gfield_contains_required field_sublabel_below field_description_above gfield_visibility_visible gconsent_wrapper">\
     <label class="gfield_label">Consent for use of personal information:<span class="gfield_required">*</span></label>\
     <div class="gfield_description gfield_consent_description">\
     <br>\
     • Sample Text.<br>\
     • Another Text.<br>\
     </div>\
     </li>\
     </div>').insertBefore("input#InsertButton");

     

    Feel free to ask, if you have any questions.

     

    Thanks,

    Saud

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • JefferyTam Profile Picture
    55 on at

    Thank Saud,

     

    But how can I apply the same in some steps within the multistep form please?

  • Verified answer
    Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at

    Hi @JefferyTam ,

     

    If you want to add your script at Form Step level, here are the steps:

     

    1. Navigate to Portal Management App
    2. Open your Multistep form
    3. Navigate to Form Steps
    4. Open your Form Step where you want to add your script at Form Step level
    5. Go to Form Options tab
    6. Scroll down and you will a section Custom JavaScript

     

    Feel free to ask, if you have any questions.

     

    Thanks,

    Saud

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • JefferyTam Profile Picture
    55 on at

    Thank you so much Saud.  😜

  • Ashish10Pal Profile Picture
    5 on at

    Hi Jeffery I appiled the same step but it is not reflect for me for the first step of 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 35 Most Valuable Professional

Last 30 days Overall leaderboard