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...
Answered

Can anyone tell me how can I clear a field after saving the value.

(0) ShareShare
ReportReport
Posted on by 186

Hi,

I have add a field in Bookable Resource Bookings -- Reading(Single line of text)

I am saving Reading Field to Property Logs(Working Fine)

How can I clear that reading field after saving the value ?


anyone?

Thanks in advance 

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at

    Hi,

    You can create a web resource with a JavaScript function and add it to the OnSave event of the form.

    The JS is something like:

    Xrm.Page.getAttribute("fieldname").setValue(null);

    And here are the steps to add the JavaScript to the form.

    Dynamics CRM JavaScript OnSave and OnLoad - Carl de Souza

  • James_Oliver Profile Picture
    186 on at

    Hi,

    Thanks A lot

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 57 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 34 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans