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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Portal while sumbitting form, readOnly field unable to save on the CRM

(0) ShareShare
ReportReport
Posted on by 30


In dynamics portal page while submitting the form Read only fields value are not save on the CRM.

I tried the following options in basic form custom java script  its not working. Disabled field values are not saved to the CRM

  • $('#fieldschema').attr("readonly", true);
  • $('#fieldschema').attr("disabled", "disabled");


Thanks

I have the same question (0)
  • Esakki Profile Picture
    30 on at

    I change the Lookup field as dropdown  using portal "Basic Form Metadata". I need to make that field as read only and save that field value to CRM

    Thanks

  • Esakki Profile Picture
    30 on at

    I change the Lookup field as dropdown using portal "Basic Form Metadata". I need to make that field as read only and save that field value to CRM.

    Thanks

  • Suggested answer
    CRMJetty Profile Picture
    3,512 on at

    Hello Esakki,

    Pls refer this thread,

    https://powerusers.microsoft.com/t5/Power-Apps-Portals/Data-is-not-getting-saved-in-CRM-side-via-portal/td-p/753240

    community.dynamics.com/.../923881

    https://powerusers.microsoft.com/t5/Power-Apps-Portals/Setting-Entity-Field-Read-Only-on-Portal-page-form/td-p/537786

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365.

  • Suggested answer
    Yuri ji Profile Picture
    on at

    Hi Esakki,

    Please check that you have selected Read-Only for the properties of the columns in the table.

    Go to Portal Editor >> Web Page >> Form >> Edit form

    pastedimage1661499295927v11.png

    pastedimage1661497631663v1.png

    My test case is that the field values can be saved without the read-only option checked:

    1. Add custom javascript to this web page.

    pastedimage1661497894985v5.png

    2. Submit the form on the web page.

    pastedimage1661497915462v7.png

    3. View the result.

    pastedimage1661497934371v9.png

  • Esakki Profile Picture
    30 on at

    Its working only single line text, I want to make read only for dropdown and lookup field

  • Suggested answer
    Yuri ji Profile Picture
    on at

    Hi Esakki,

    After my testing, in Protal, the dropdown and lookup fields are read-only by default and can only be selected by the right button.

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 55 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans