Expand my Community achievements bar.

paulk07
paulk07
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I'm no expert but I think you need to define the .rawValue.  This is just an example from a form:this.rawValue = page1.rsalutation.rawValue + "_" + page1.rfirstname.rawValue + "_" + page1.rlastname.rawValue;

    Type

    Questions

    Views

    1.5K

    Likes

    0

    Replies

    0
  • Can you send me the form?

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    0
  • You can leave leave all alone and in the new field add the script.Syntax:  Without seeing the form structure it's difficult to diagnose but try changing the date field names to StartDate and EndDate

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    0
  • same as above except a new field (call it whatever you want)Add this script to the new field using "calculate":if (Date2Num(EndDate, "YYYY-MM-DD") and Date2Num(StartDate, "YYYY-MM-DD")) then                  if (Date2Num(EndDate, "YYYY-MM-DD") < Date2Num(StartDate, "YYYY-MM-DD")) then            ...

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    0
  •   if (Start.rawValue==null) then  $.rawValue = ""  else  Num2Date(Date2Num(Start.formattedValue, DateFmt(2))  + stop + ext, DateFmt(2))  endif  2 date fields named Start and Comp2 numeric fields:  stop and extThe script is FormCalc on the calculate event of the date field named Comp

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    0
  • use a date field named StartDate.Add a text field and add a script written in FormCalc utilizing the calculate function:if (StartDate.rawValue==null) then$.rawValue = ""elseNum2Date(Date2Num(StartDate.formattedValue, DateFmt(2))  + 1, DateFmt(2))endifchange the + 1 to increase the number of days ca...

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    0
  • Another option:I have two text fields named Party1 and Party2.  When a name is entered in the text field(s) it then becomes available in the drop list.I used the javascript below on the *pre-open event.this.rawValue = null; this.clearItems();this.addItem(Party1.rawValue); this.addItem(Party2.rawValu...

    Type

    Questions

    Views

    3.1K

    Likes

    0

    Replies

    0
  • Take a look here:  http://forums.adobe.com/message/3202626#3202626

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • Question 1:  this is javascript on mouseUp:var dtStart = new Date(this.getField("StartDate").value); var dtEnd = new Date(this.getField("EndDate").value) var nDayStart = dtStart.getDay() var nDayEnd = dtEnd.getDay()  var OneDay = 24 * 60 * 60 * 1000; var TotalNumDays = (dtEnd.getTime() -  dtStart.ge...

    Type

    Questions

    Views

    2.1K

    Likes

    0

    Replies

    0
  • see thishttp://forums.adobe.com/message/3459061#3459061

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    0