Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to store the relative value of the RelativeDateItem

    Hello,

    I've got a form with a RelativeDateItem. After saving the form via form.saveData() the relative date is transformed into an absolute Date. But I want to store the relative date (like -2w [2 weeks ago]) in a String field. How can I achive this?

    regards Andreas

    #2
    I don't know whether there's a built-in feature for this, but you probably can achieve your goal by manually setting filterEditorCriteria in onDataArrivedHandler, and then change it once again in filter submit handler.

    Comment


      #3
      Hello,

      I dont need the relative value in a filter. I want to use it in a regular form saving it to the database.

      Regards Andreas

      Comment

      Working...
      X