cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rkadey
Helper I
Helper I

Add extra text to form fields in power apps portal

 I want to add the important message displayed under question 13 in first picture to the field tile in second picture, a basic form on portal website. Any thoughts? First OptionFirst Option

New optionNew option

2 ACCEPTED SOLUTIONS

Accepted Solutions
ragavanrajan
Super User
Super User

Hi @rkadey , 

 

 I am not aware of OOB way inbuilt in PowerApps Portal, especially for the basic form. But you can achieve it with jquery or JavaScript 

 

Once you add your disability field in the basic form. Get the logical name of the field label. For example

 

you can inspect the label field and find the id of that label. Screenshot attached for your reference 

 

ragavanrajan_0-1632199961365.png

In my case it is cr5ce_disablitystatus_label. 

 

Below are the steps for you.

 

In portal management: 

 

1. Under content > Basic forms > Select your desired form > Additional settings 

2. Scroll down until you see the javascript section 

3. Then add the following jQuery

 

 

$(document).ready(function() {
    console.log(555, "Ragavan Test");
    $("#cr5ce_disablitystatus_label").html("Important <br><hr> This is sample test<br>Submit your application and receive a conditional offer letter with a link to book for a literacy and numeracy assessment time.<br>Book a literacy and numeracy assessment time. Please allow two hours maximum to complete both tests.");
});

 

You can play around with all sorts of HTML tags in the above sample jQuery area according to your need. 

 

In portal studio: 

 

1. Press sync configuration and browse the website 

2. If not rendering properly> then Ctrl + F5 for hard refresh 

Output: 

 

ragavanrajan_1-1632200617307.png

Hope it helps. 
------------

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

View solution in original post

OOlashyn
Super User
Super User

Hi @rkadey ,

You can use Description property in the Entity Form Metadata. You need to open your Basic Form -> Entity Form Metadata -> Add New, Then on the opened form select Type = Attribute, select needed field, then scroll to the bottom and find description. You can find more about this setting here - https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata#descr... 

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

View solution in original post

4 REPLIES 4
ragavanrajan
Super User
Super User

Hi @rkadey , 

 

 I am not aware of OOB way inbuilt in PowerApps Portal, especially for the basic form. But you can achieve it with jquery or JavaScript 

 

Once you add your disability field in the basic form. Get the logical name of the field label. For example

 

you can inspect the label field and find the id of that label. Screenshot attached for your reference 

 

ragavanrajan_0-1632199961365.png

In my case it is cr5ce_disablitystatus_label. 

 

Below are the steps for you.

 

In portal management: 

 

1. Under content > Basic forms > Select your desired form > Additional settings 

2. Scroll down until you see the javascript section 

3. Then add the following jQuery

 

 

$(document).ready(function() {
    console.log(555, "Ragavan Test");
    $("#cr5ce_disablitystatus_label").html("Important <br><hr> This is sample test<br>Submit your application and receive a conditional offer letter with a link to book for a literacy and numeracy assessment time.<br>Book a literacy and numeracy assessment time. Please allow two hours maximum to complete both tests.");
});

 

You can play around with all sorts of HTML tags in the above sample jQuery area according to your need. 

 

In portal studio: 

 

1. Press sync configuration and browse the website 

2. If not rendering properly> then Ctrl + F5 for hard refresh 

Output: 

 

ragavanrajan_1-1632200617307.png

Hope it helps. 
------------

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

View solution in original post

OOlashyn
Super User
Super User

Hi @rkadey ,

You can use Description property in the Entity Form Metadata. You need to open your Basic Form -> Entity Form Metadata -> Add New, Then on the opened form select Type = Attribute, select needed field, then scroll to the bottom and find description. You can find more about this setting here - https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata#descr... 

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

View solution in original post

Thanks @ragavanrajan . It works.

This is far easier and solves the problem as well. Thanks so much @OOlashyn 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,742)