Javascript

rss

Posted by apawar - May 22 ’14 at 08:34

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

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 22 days
    #1 by Dmitry Kozlov May 22 ’14 at 10:57

    Hello,

    Could you drop HTML-source of your form page to [email protected]? Thanks.

  • apawar
    Member
    Member for: 5 years 4 months 24 days
    #2 by apawar May 23 ’14 at 07:23

    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.

     

     

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 22 days
    #3 by Dmitry Kozlov May 23 ’14 at 10:47

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

Displaying 1 to 3 of 3 messages