how can i select 5 dates in one calender view

Certified Associate Developer

i want to select 5 dates in One Date Calender field. is there any Method or field are there ?

  Discussion posts and replies are publicly visible

Parents Reply
  • If you have a specific date range, you could use a drop down list.

    a!localVariables(
      local!dates: a!forEach(
        items: enumerate(60) - 30,
        expression: today() + fv!item
      ),
      local!selection: {},
      local!count: length(local!selection),
      a!multipleDropdownField(
        label: "Dates (" & local!count & ")",
        instructions: "Select 5 dates",
        choiceLabels: a!forEach(
          items: local!dates,
          expression: text(fv!item, "dd mmm yyyy")
        ),
        choiceValues: local!dates,
        value: local!selection,
        saveInto: local!selection,
        validations: {
          if(local!count = 5, null, "Select 5 dates")
        }
      )
    )

Children
No Data