Expand my Community achievements bar.

venih1
venih1
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Oh no!  That means I got a lot of code to go through and fix....not good!  >:-<I really wish they'd address this -- I can't imagine being the only one that's ran into this "silent fail" issue with SmartForms and JavaScript.I'll change my code and see if it all works now.  Thanks for the tip!!!

    Type

    Questions

    Views

    994

    Likes

    0

    Replies

    0
  • What if you switch your comparison value after the == to say, "Form.pdf" or some value not equal to what your form title is?  I ran into this because initially my test was just like yours where I had the "nice" or expected comparison that should work, but then I found out that my 'else' portion was ...

    Type

    Questions

    Views

    976

    Likes

    0

    Replies

    0
  • Javascript

    Type

    Questions

    Views

    979

    Likes

    0

    Replies

    0
  • Thanks for the suggestion, but my if statement still fails to execute properly after I changed my form properties to:and changed my code to:if (xfa.host.title == "MC-050") then { xfa.host.messageBox("In == mc050, UPPERcase p section ALNvali.","Error"); // vhWhat happens is that the comparison I make...

    Type

    Questions

    Views

    972

    Likes

    0

    Replies

    0
  • Hello,Trying to figure out the form name, but not getting desired result with the following:if (xfa.form.name == "form050") then... Any suggestions?  Thanks. -Veni

    Type

    Questions

    Views

    2.2K

    Likes

    0

    Replies

    8