Expand my Community achievements bar.

_SekharN_
_SekharN_
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hope the following JS code helps you..........var checkDate = isCurrOrPastDate(this.rawValue)if (checkDate == true) { //xfa.host.messageBox("This date is valid current or past date."); }else { xfa.host.messageBox("Date can not be a future date"); xfa.host.setFocus(this.somExpression); //set focus ba...

    Type

    Discussions

    Views

    773

    Likes

    0

    Replies

    0
  • I would change your logic to the following FormCalc code.....if (Date() > date2num("Mar 27, 2009","MMM DD, YYYY")) then form1.#subform[0].Table2.Row1.NoReg * 25else form1.#subform[0].Table2.Row1.NoReg * 20endif

    Type

    Discussions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • JavaScript is picky and case sensitive. I suspect some silly mistakes. Those have to be resolved and are part of learning curve. If you want me take a look just shoot me an email at "meetsekharv AT yahoo.com" with your template attached.

    Type

    Discussions

    Views

    606

    Likes

    0

    Replies

    0
  • Instead of standard Email button I would choose a regular button and will have following JS code added in Click event.........var eadd = "";var subj = "Subject text";var ebody = "Email Body text goes here";if (dd.rawValue == "BA") { eadd = "BA@Company.com";}if (dd.rawValue == "KC") { eadd = "KC@Comp...

    Type

    Discussions

    Views

    606

    Likes

    0

    Replies

    0
  • It is easy...........I would use the following code in "Enter" and "Exit" events....Let us say the default text in the text field is "Default Text"//Enter event JavaScriptvar curText = this.rawValue;var defText = "Default Text"if (curText == defText) { //when the current text is same as Default text...

    Type

    Discussions

    Views

    394

    Likes

    0

    Replies

    0
  • Let me try to explain it one more time.........Here is how I will do it.1. Add a text area and type in "Thank You For Your Recent Donation of $"2. Right after $ I will do right click on mouse and select "Floating field" from the popup menu then it will look like "Thank You For Your Recent Donation o...

    Type

    Discussions

    Views

    1.4K

    Likes

    0

    Replies

    0
  • You answered your question your self. Check for "floating field" under help. You can do it with out text box. When you all floating field it in a running text by default you see {TextField} to rename or to do some scripting you highlight it and then select the field in Hierarchy window.

    Type

    Discussions

    Views

    1.4K

    Likes

    0

    Replies

    0
  • Here is a way I tried log time ago it works for me however I have some additional things I have do with every new attachment so I am just pasting what I thought is enough in your case. Let me know if you see any issues..... you may try this JS code in a button click and you need to enable user right...

    Type

    Discussions

    Views

    733

    Likes

    0

    Replies

    0
  • Hi Patricia, With your description I guess you need to use "And" operatior in place of "Or" operator........if ((form1.subPage3.subApply25.ckbQuest26dol.rawValue == 0) && (form1.subPage3.subApply25.ckbQuest26call.rawValue == 0)) { xfa.host.messageBox("At lease one is required.", "Warning", "1") exit...

    Type

    Discussions

    Views

    524

    Likes

    0

    Replies

    0
  • You could consider composing two emails one with PDF and other with XML attachment but again the drawback is user have to remember to click send button on two of the emails.event.target.submitForm({cURL:"mailto:person@company.com?&body=XML Attachment&subject=XML Attachment", cSubmitAs:"XML",cCharset...

    Type

    Discussions

    Views

    2.3K

    Likes

    0

    Replies

    1