Reputation: 4585
I am new to CRM 2011
. I have a button on ribbon which opens a new small form.
On that small form I need to add JavaScript
Web Resource
on 'OnChange' event. Is it possible to do that?
If yes can you please suggest me any thing.
I know how to add Web Resource
to normal CRM 2011 forms, but don't have any idea about this small popup form.
Thanks in advance.
Upvotes: 1
Views: 826
Reputation: 39118
Short answer: Can't do that.
A bit longer answer: Can't do that. Sorry.
Long answer: Can't do that. Sorry. Not if it's the built-in, modal pop-up presented by CRM. There are two approaches to proceed here. One pragmatic and one idealistic.
Pragmatic approach: rethink. Explain what the task at hand is and maybe someone will suggest a different way to solve the problem.
Idealistic approach: force it by any means necessary. You could add a web resource that looks just like the pop-up and add a lot of functionality to it. It's possible but it's definitely harder, more complex, significantly error-prone and really not recommended. Really not.
Upvotes: 0
Reputation: 1951
If the pop-up form is a web resource then you can reference other web resources like you would any HTML page.
If the pop-up is a CRM form, then you may be out of luck.
What are you trying to accomplish? There may be another approach.
Upvotes: 1