Javascript

Discussions about Forms Designer for SharePoint 2010.
Locked
apawar
Posts: 4
Joined: Wed May 21, 2014

22 May 2014

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

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

22 May 2014

Hello,

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

apawar
Posts: 4
Joined: Wed May 21, 2014

23 May 2014

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.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

23 May 2014

You have to use internal names of fields instead of their titles. When you modify a title, the internal name remains unchanged.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests