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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Customize Web Form

(0) ShareShare
ReportReport
Posted on by 20

Hi there,

I need to customize the following Web Form in Dynamics CRM 2016 - CRM Portal.

Any ideas how i could "pull-left" the button "Add Expense Evidence" (see image below)?

To my knowledge, this can' t be achieved with javascript even with jquery on the Form component. 

Any hint will be highly appreciated!

pastedimage1590494711938v1.png

I have the same question (0)
  • Verified answer
    - Matt Bayes - Profile Picture
    890 on at

    Hey George,

    This can actually be achieved by running JQuery code on the Entity Form.

    If you navigate to your Entity Form in Dynamics CRM and select the Additional Settings tab you can add JS code to this form.

    Paste this code into that section:

    $(function() {
        $("#ClinicLocation").on("loaded", function() {
            var toolbar = $(this).find("div.pull-right.toolbar-actions");
    
            $(toolbar).addClass("pull-left");
            $(toolbar).removeClass("pull-right");
        });
    });

    Replace the "ClinicLocation" parameter on line #2 with the name of your subgrid from CRM (the name that is on the form). Here's a screenshot with an example:

    sg_5F00_config.PNG

    This code should run On Ready of the Window, bind to the "Loaded" event of the Grid (since it loads asynchronously), and then add the pull-left class whilst removing the pull-right class.

    If you have any questions please let me know!

    I'd appreciate if you could mark this post as answered if it solved your issue!

    Thanks, and stay safe!

    Matt Bayes

  • george.bekos Profile Picture
    20 on at

    Thanks a lot, works like a charm :)

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans