is there any way to display to single date field instead of month calender?

  Discussion posts and replies are publicly visible

Parents
  • Yes, we will need a little bit of additional information.  Are you looking to select just a date value vs seeing an entire month calendar, etc?  Something like a dropdown with date ranges?

    a!localVariables(
      local!rangePrior: 3,
      local!rangeAfter: 10,
      local!dates: a!forEach(
        items: append({-local!rangePrior+enumerate(local!rangePrior)},{enumerate(local!rangeAfter+1)}),
        expression: today()+fv!item
      ),
      local!selected: today(),
    
      a!dropdownField(
        label: "Date",
        choiceLabels: local!dates,
        choiceValues: local!dates,
        value: local!selected,
        saveInto: local!selected
      )
    )
    
    

Reply
  • Yes, we will need a little bit of additional information.  Are you looking to select just a date value vs seeing an entire month calendar, etc?  Something like a dropdown with date ranges?

    a!localVariables(
      local!rangePrior: 3,
      local!rangeAfter: 10,
      local!dates: a!forEach(
        items: append({-local!rangePrior+enumerate(local!rangePrior)},{enumerate(local!rangeAfter+1)}),
        expression: today()+fv!item
      ),
      local!selected: today(),
    
      a!dropdownField(
        label: "Date",
        choiceLabels: local!dates,
        choiceValues: local!dates,
        value: local!selected,
        saveInto: local!selected
      )
    )
    
    

Children