I have form below. I can not get the value of {pubdate to work with the
tiime function. Any suggestion would be helpful.
[form]
/* use existing data field and allow user to modify the date */
/* date is entered as text 28 May 1987, etc or 7/21/2013 etc... */
Publish On:[text pubdate "{:pubdate}" size=14]
/* submit */
[submit name=submit value='SAVE']
/* set target page */
[session target {p}]
/* use time function to convert to a standard date format */
/* This works */
[session TESTDUMMY [(time "May 23, 1985" "%c")] ]
/* This doe not work Just repeats pubdate original text. no new format!!*/
[session pubdatetext [(time "{=pubdate}" "%c")] ]
/* use a custom function to cfreate a timestamp */
/*This Works */
[session TIMESTAMPDUMMY '[(jactimestamp "May 23, 1985" )]' ]
/* This does not work */
[session pubdatets '[(jactimestamp "{=pubdate}" )]' ]
/*save the data */
[session boltsavedata pubdate,pubdatets,pubdatetext]
[form]
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/groups/opt_out.