Open gMagicScott opened 10 years ago
Could we also make add another for the countdown timer? Like this:
oh I guess I can't add my line of code. Anyway it was the sames as yours except it was name="ndate1"
In full it could be
[ndate
field="ndate"
add="0"
/]
Those would be the defaults, so you could just use [ndate]
by itself. To get the ndate2, you could use [ndate field="ndate2" add="1D"]
With add
, I'm thinking
#D
= add # days#Y
= add # years#M
= add # months#W
= add # weeksthat would be killer!
Getting the ndate JavaScript to work correctly from the static Amazing System files can be problematic on some websites, although I'm not totally sure why.
Ultimately, I would like to integrate with Gravity Forms to allow it's easy form creation with the extra Amazing System functionallity added in.
In the mean time, we could use something like
[ndate]
within the form. On the page, that would turn into:Of course the value,
2/26/2014
in the example above, would dynamically calculate the correct date for 'tomorrow'.