Expand my Community achievements bar.

JNORTH123
JNORTH123
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • i know this is an old thread, but would you mind throwing in the example script of the one that worked?thanks so much.

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    0
  • var cDate = Date()var eDate = EnteredDate //your field name for entered date fieldvar diff = cDate - eDateIf diff < 15;app.alert("The number of days between the two dates is: "+ diff/1000/60/60/24);give that a try, I dont know if syntax is right, I am just a begginer at Javascript as well. Put this ...

    Type

    Questions

    Views

    1.8K

    Likes

    0

    Replies

    0
  • Thank you so much Kyle, I had inadvertently placed this code in the change event and not the exit event at first, but after placing in the right event, it worked!!! amazing!J

    Type

    Questions

    Views

    671

    Likes

    0

    Replies

    0
  • Hi dcidev,Like so? I tried below and the townabr field did not update.var name = this.rawValuevar initials = "";var wordArray = name.split(" ");for(var i=0;i<wordArray.length;i++){    if (wordArray.length==1)    initials=wordArray[0].substring(0,3);    else    initials += wordArray[i].substring(0,1)...

    Type

    Questions

    Views

    609

    Likes

    0

    Replies

    0
  • Good Morning, I have found from this site the coding needed to pull the initials of any given name with two words.ie. from the word Nova Scotia, the code below pulls out the initials "NS" into the nameabr text field when placed on the exit event of the name field in Javascript.var name = this.rawVal...

    Type

    Questions

    Views

    1.4K

    Likes

    0

    Replies

    4
Top badges earned by JNORTH123
Customize the badges you want to showcase on your profile