Page 1 of 1

Javascript

Posted: 22 May 2014
by apawar
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

Re: Javascript

Posted: 22 May 2014
by Dmitry Kozlov
Hello,

Could you drop HTML-source of your form page to support@spform.com? Thanks.

Re: Javascript

Posted: 23 May 2014
by apawar
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.

Re: Javascript

Posted: 23 May 2014
by Dmitry Kozlov
You have to use internal names of fields instead of their titles. When you modify a title, the internal name remains unchanged.