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 / Change column of forma...
Power Pages
Answered

Change column of format type 'email' to text without hyperlink on portal

(0) ShareShare
ReportReport
Posted on by 88

Hi

 

I have a column named email of Data type = 'Single line text'; Field type = 'Simple' and Format = 'Email'.

 

On the portal, when I am entering an email, I would like to:

1. Change the style to simple text without an underline.

2. Remove hyperlink, i.e. on single or double clicking on the email id, I do not want to open an email client.

 

Please let me know how can I achieve this using javascript and/or metadata on the portal management app.

 

Thanks

Cris

Categories:
  • H V Profile Picture
    1,510 on at

    Hi @Cris2 

     

    Can you please post screenshot of your list and inspect element of email field?

  • Cris2 Profile Picture
    88 on at

     

    As below:

    Cris2_0-1632396079919.png

     

  • H V Profile Picture
    1,510 on at

    Hi @Cris2 

     

    It seems that email field is in FORM, not Entity List. Please confirm.

  • H V Profile Picture
    1,510 on at

    Hi @Cris2 

     

    Please add below code in JavaScript section in Basic Form:

    $(document).ready(function() { 
    	$("#emailaddress1").attr("type","text");
    	$("#emailaddress1").attr("onclick", null).off("click");
    	$("#emailaddress1").attr("ondblclick", null).off("click");
    });

     

    --------------------------
    If you like this post, give a Thumbs up. Where it solved your query, Mark as a Solution so it can help other people!

  • Cris2 Profile Picture
    88 on at

    Yes, you are right.

  • H V Profile Picture
    1,510 on at

    Hi @Cris2 

     

    Please add below code in JavaScript section in Basic Form:

    $(document).ready(function() { 
    	$("#emailaddress1").attr("type","text");
    	$("#emailaddress1").attr("onclick", null).off("click");
    	$("#emailaddress1").attr("ondblclick", null).off("click");
    });

     

    --------------------------
    If you like this post, give a Thumbs up. Where it solved your query, Mark as a Solution so it can help other people!

  • Cris2 Profile Picture
    88 on at

    Thanks. This has worked.

    How could I remove the underline?

  • Verified answer
    H V Profile Picture
    1,510 on at

    Hi @Cris2 

     

    Please add below code to remove underline:

    $(document).ready(function() { 
    	$("#emailaddress1").attr("type","text");
    	$("#emailaddress1").attr("onclick", null).off("click");
    	$("#emailaddress1").attr("ondblclick", null).off("click");
    	$("#emailaddress1").css("text-decoration", "none");
    });

     

    Glad to hear that your issue has been resolved. Please mark as answers so that it will be helpful to others.

  • H V Profile Picture
    1,510 on at

    Hi @Cris2 

     

    Did that help to solve your issue?

    If yes, can you mark as the answer so it helps other users?

    If no, let me know.

  • Cris2 Profile Picture
    88 on at

    Yes, it has worked now. Thank you for your helps. Much appreciated!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 35

#2
M Bilal Khan Profile Picture

M Bilal Khan 33

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard