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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Portal Entity Form Lab...
Power Pages
Unanswered

Portal Entity Form Label placement

(0) ShareShare
ReportReport
Posted on by 47

Hi there

 

I have an Entity Form which is displayed in my Portal, but is shown with the labels on top of fields.

In the editor, the labels are on the left of the fields (as wanted).

How would I go about having the labels on the left in the browser?

EDIT MODE:

justinridge_0-1596958531904.png

justinridge_1-1596958626542.png

 

LIVE MODE

 

justinridge_2-1596958791731.png

 

I saw a recommendation on a thread to add this javascript (below), but this does not work and brings up a coding error.

I have two sections called "GENGEN" and "SPECSPEC"

 

justinridge_3-1596959148776.png

 

Any help would be greatly appreciated!

 

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi

     

    your JS code is correct, it's probably the " symbol that if may have copied the wrong character, also you should set that css for both sections.. so you should have two lines for clear = none and two lines for float = right

     

    you can also achieve the same via CSS, if you want to apply for the entire portals I recommend doing it via CSS as it would perform a bit better

     

    please take a look at the following: https://oliverrodrigues365.com/2020/08/09/power-apps-portals-field-label-position/


    ------------

    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.

     

  • justinridge Profile Picture
    47 on at

    Thanks so much Oliver.

    I agree that the Website CSS is prob the best way to go.
    I did this, but for some reason the clear command doesn't seem to be working.

    See below:

     

    justinridge_0-1596985105491.png

    This also happens when I have just one column.

     

    I pasted the code into the home page Custom CSS from your linked site.
    Any idea why the clear command isn't working?

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    that's weird.. a few things you can check:

     

    • is that an Entity Form or Web Form? - I tested my one in an Entity Form, showing a specific tab for my form instead of showing all tabs
    • have you tried the JS via browser console? just to see if works?
    • can you check the structure of your entity form to make sure it is being rendered this way:

    OliverRodrigues_0-1596993393340.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard