5 Replies Latest reply: Feb 13, 2018 4:44 AM by Xavier Garcia RSS

    Select date using selectValues api

    Boon Haw Tan

      Hi All,


      I have a multiple html pages mashup but i having problem to preserve current selection between html pages.

      Thus, i tried to using browser sessionstorage method to store current selection made in page A then retrieve the selection from sessionstorage in page B and using selectValues api to perform pre-select.

      I able to selectValues() for interger and text but i having problem to use selectValues for selecting date.

      Kindly advice how can select date using selectValues.


      app.field('customer_name').selectValues(["Peter"], true, true) -> working

      app.field('year').selectValues([2014], true, true) -> working

      app.field('date').selectValues(['1/7/2013'], true, true) -> not working