Announcement

Collapse
No announcement yet.

start a new form with field that shows weeeknumber

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • start a new form with field that shows weeeknumber

    Hi There,

    I'm making a log file for students. The students fill in the log once a week. i wan't a field that shows a pre inserted weeknumber, but i can't find any working solution for it. Any idea?


  • #2
    in ONLOAD event

    $ddate = "2012-10-18"; $date = new DateTime($ddate); $week = $date->format("W"); {field} = $week";

    Comment


    • #3
      great, many thanks. that did the trick

      Comment

      Working...
      X