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 :
Microsoft Dynamics CRM (Archived)

Set Iframe Value From Field Using JavaScript

(0) ShareShare
ReportReport
Posted on by

Hello,

I have a CRM form with an iframe on it that contains an HTML textarea (id=textbox). On the form, I have a field called "Justification". I need the textarea value that is in the iframe, to be set to the value that is in the "Justification" field on the parent form Onload using javascript. is there a simple way to do this, and if so, can you provide a script? Thank you in advance, any help would be appreciated

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    talk2.gauravb Profile Picture
    120 on at

    Hi,

    You can write an html script in your html page, CRM fields can be accessed in script by using parent.Xrm.getAttribute("justificcation").setValue().

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans