Javascript
Hello,
I am evaluating your product, I have a trial version of Forms Designer installed on SP2010 foundation.
I have the following script for change on Status field (choice field)
fd.field('Status').change(function(){alert('here');});
This does not seem to work. Please advice. Thanks
I am evaluating your product, I have a trial version of Forms Designer installed on SP2010 foundation.
I have the following script for change on Status field (choice field)
fd.field('Status').change(function(){alert('here');});
This does not seem to work. Please advice. Thanks
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Thanks for your prompt reply.
When I used the Javascript, I had a field called Promo Status originally, which I changed to Status later. Not sure if this is the cause. Also, another observation was that I used this drop down under the tabs when I experienced the issue with javascript.
However, I started with a brand new field called status, moved it above the tabs and then used the javascript explained and that worked. I am sorry I dont have the previous screen anymore to give you the html source.
Thanks for your prompt reply.
When I used the Javascript, I had a field called Promo Status originally, which I changed to Status later. Not sure if this is the cause. Also, another observation was that I used this drop down under the tabs when I experienced the issue with javascript.
However, I started with a brand new field called status, moved it above the tabs and then used the javascript explained and that worked. I am sorry I dont have the previous screen anymore to give you the html source.
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
You have to use internal names of fields instead of their titles. When you modify a title, the internal name remains unchanged.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest