Can you answer another outstanding question? I have this code and it
works but it is not calculating over 24hr. I then tried the second code
from a post you referred me to but then the formatting was off. I need
it to display in HHMMSS and it was displaying in decimal minutes. I
can't get both to work together. I need to calculate time and it might
be over 24hrs. Do I have to incorporate the date field? Right now I have
them separate and would prefer to keep that way. I can send the form if
That update did not work either. It keeps saying that I am trying to
update an unknown version? I don't have admin rights on my computer
because I work for the gov so it is really hard to troubleshoot why?
Suggestions other than the update? I guess I will just have to delete
all the extra the hard way.
For some reason when I try to download the fix and update it is telling
me I am running an incompatible version? I am currently running 8.2.1
and downloaded the fix for that version (adobe_livecycle_8_2_qf)?
I just realized that the known bug in live cycle is creating unnecessary
lines of code to my form. I don't have the ability to update to the most
recent live cycle. Is there any way to fix it without? Has anyone
created a macro or something to remove all the extra lines? So far I
have deleted a few hundred thousand occurrences of and still going. Also afraid I am going to delete
something I shouldn't.
So I simplified my script to:if (HasValue(startsamplingtime) and
HasValue(endsamplingtime)) thencalcsoaktime =
Abs(Time2Num(endsamplingtime.formattedValue, "HH:MM:SS") -
else calcsoaktime = 24 - Abs(Time2Num(endsamplingtime.formattedValue,
"HH:MM:SS") - Time2Num(startsamplingtime.formattedValue,
"HH:MM:SS"))/(60*60*1000);endifThe only problem is that I want the
calcsoaktime to be formatted in HH:MM:SS. I have made the display ...
I need the below to include seconds in the output field. I have looked
everywhere and I'm sure simple. Please help.if
(HasValue(startsamplingtime) and HasValue(endsamplingtime)) thenvar
TimeDiff = (Time2Num(endsamplingtime.formattedValue, "HH:MM:SS") -
Time2Num(startsamplingtime.formattedValue, "HH:MM:SS")) / (1000 * 60 *
60)//truncate to hoursvar HourDiff = Floor(TimeDiff/60)//get minutes
less than 60var MinDiff = Mod(TimeDiff,60)need seconds herevar SecDiff
=// build fomatted dispaly stringCon...
I have created an xml form in live cycle that I would like to make a
regular pdf upon finalization so I can combine with another file. The
way I would like it to work is that a user fills out the form, signs and
then sends to another user to sign off and on to the last and then it is
finalized and converted to a regular pdf and then the form is combined
with a regular pdf. I have read many of the forums about removing the
script, print to pdf, etc. The option that works best for me since I