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 / How to edit prepopulat...
Power Pages
Answered

How to edit prepopulated field data (Please enter phone number etc)

(0) ShareShare
ReportReport
Posted on by 289

Hi everyone,

 

I have an advanced form displayed in my portal with various questions including a QV to a contact card.

 

The trouble is this is to be displayed as view only and when it appears on the portal it has "provide a phone number" if the field is blank. (see pic)

 

Screenshot 2022-06-29 115150.png

This is annoying because the user of the portal cannot enter anything here and nor do I require them to.

 

Is there any way I can change that text? It is not a label - in an editable form you just overwrite the text with the number.

 

Any help would be really appreciated.

 

Cheers,

 

Matthu

Categories:
I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    If you have populated the field in DataVerse, then you would need to put JavaScript on the form and empty the field on the form (if the Portal Form or the Field is set to ReadOnly on the DataVerse Form that is being used for the Portal form any such change will not update back to DataVerse.

     

    Generally, for this type of thing I would not pre-populate the data and instead use JQuery on the Portal to set the 'placeholder' attribute on the field (intput etc)  as this shows a message to the user but the field is actually empty.

  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Please follow instructions from Fubar. 

     

    adding my two cents 

     

    1. using jQuery either you can remove your input field attribute 

    2. or set the input field colour to transparent or white. 

     

    $(document).ready(function() {
     
     console.log(555, "Ragavan");
     $('#cr5ce_employeenumber').css("color", "#fff");
     
    
    
    });
    

     

    Place the above code in the web page localized content > Advanced > Custom Javascript. 

     

    NB: Replace the jquery to remove the placeholder. 

     

    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.

  • Matthu Profile Picture
    289 on at

    Thank you both! 

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 53

#2
rezarizvii Profile Picture

rezarizvii 43

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 24 Most Valuable Professional

Last 30 days Overall leaderboard