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 : nioHOmDcMbamuP2XPP4Yng
Power Pages - Design & Build
Answered

Adding extra content within each step in a multistep form

Like (0) ShareShare
ReportReport
Posted on 19 Jul 2023 16:44:26 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 (0)
  • Ashish10Pal Profile Picture
    5 on 01 Jul 2024 at 09:47:58
    Re: Adding extra content within each step in a multistep form

    Hi Jeffery I appiled the same step but it is not reflect for me for the first step of form 

  • JefferyTam Profile Picture
    55 on 20 Jul 2023 at 10:17:55
    Re: Adding extra content within each step in a multistep form

    Thank you so much Saud.  😜

  • Verified answer
    Saud Ali Profile Picture
    812 Super User 2024 Season 1 on 20 Jul 2023 at 08:28:16
    Re: Adding extra content within each step in a multistep form

    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 20 Jul 2023 at 08:09:06
    Re: Adding extra content within each step in a multistep form

    Thank Saud,

     

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

  • Saud Ali Profile Picture
    812 Super User 2024 Season 1 on 19 Jul 2023 at 19:46:37
    Re: Adding extra content within each step in a multistep form

    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.

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…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 85 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 43

#3
dgray304 Profile Picture

dgray304 39

Last 30 days Overall leaderboard

Featured topics

Loading complete