Skip to main content
Best answer

Input Field of type Date in Dynamic Field

  • July 5, 2021
  • 4 replies
  • 346 views

Hi,

I am trying to add new field of type Date, where the customer gets to select the date from calendar. I see that there is an option to add ‘DateTime’ in input field. But my requirement is to do it in dynamic field, as I have to work on the code. 

I tried with type = Date or DateTime, but every time I get text field only. Here is sample of my dynamic field.

[

{ "key": "Name",

"label": "Name"

},

{

"key": "Custom Date”,
"label": “Due Date”,
"type":"Date"

}

 

Is there any option to get solution to my requirement. Thanks in advance :slight_smile: .

Best answer by GetUWired

Hi @devP 

There is no Date field in Zapier, just a DateTime field. Additionally, you can’t fill it by clicking from a calendar as you are hoping. You are correct that you will need to set type. 

it should be 'datetime'

 

The field schemas can be found here: https://github.com/zapier/zapier-platform/blob/master/packages/schema/docs/build/schema.md#fieldschema 

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

  • Author
  • Beginner
  • July 8, 2021

Hi guys,

Is there no one who can help me with this :expressionless:
Please le me know if you need any more information. I would really appreciate if someone can answer my requirement.


Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • July 8, 2021

Hi @devp!

I’m sorry that’s no one’s been able to chip in so far. I’m not sure on the answer to this myself, @Zane or @ikbelkirasan are. you able to help with this one?


GetUWired
Forum|alt.badge.img+12
  • Zapier Solution Partner
  • Answer
  • July 8, 2021

Hi @devP 

There is no Date field in Zapier, just a DateTime field. Additionally, you can’t fill it by clicking from a calendar as you are hoping. You are correct that you will need to set type. 

it should be 'datetime'

 

The field schemas can be found here: https://github.com/zapier/zapier-platform/blob/master/packages/schema/docs/build/schema.md#fieldschema 

 


  • Author
  • Beginner
  • July 9, 2021

Thanks @Danvers and @GetUWired for following up and answering the question.