[{"data":1,"prerenderedAt":426},["ShallowReactive",2],{"content-\u002Fguides\u002Ffill-a-datepicker-in-a-google-form":3,"content-doc-\u002Fguides\u002Ffill-a-datepicker-in-a-google-form-inline":425},{"id":4,"title":5,"body":6,"date":404,"description":405,"extension":406,"meta":407,"navigation":420,"order":404,"path":421,"seo":422,"stem":423,"__hash__":424},"guides\u002Fguides\u002Ffill-a-datepicker-in-a-google-form.md","Fill a date picker in a Google Form",{"type":7,"value":8,"toc":396},"minimark",[9,29,36,41,44,50,65,68,72,74,99,103,105,115,140,263,269,275,292,296,298,319,322,328,332,334,348,351,357,372,376,378,392],[10,11,12,13,21,22,28],"p",{},"Google Forms date fields are custom inputs, so the ",[14,15,17],"a",{"href":16},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fenter-text",[18,19,20],"strong",{},"Enter text"," step can't fill them reliably. This guide shows you how to fill one using a small JavaScript snippet and the ",[14,23,25],{"href":24},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fpress-keys",[18,26,27],{},"Press key(s)"," step instead.",[10,30,31],{},[32,33],"img",{"alt":34,"src":35},"Google web form date picker","\u002Flanding\u002Fgoogle-web-form-date-picker.webp",[37,38,40],"h2",{"id":39},"why-enter-text-doesnt-work","Why Enter text doesn't work",[42,43],"hr",{},[10,45,46,47,49],{},"The date field looks like a single input, but it's made of three parts: day, month, and year. This causes two problems for ",[18,48,20],{},":",[51,52,53,57],"ul",{},[54,55,56],"li",{},"Clicking the field can place the cursor in the day, month, or year part, so the automation can't be sure where typing starts.",[54,58,59,60,64],{},"The field doesn't accept a full date pasted as one string, such as ",[61,62,63],"code",{},"12-12-2025",". Each part has to be typed in order: day, then month, then year.",[10,66,67],{},"The fix is to skip clicking entirely. Tab into the field so the cursor always starts in the day part, then type the date one digit at a time.",[37,69,71],{"id":70},"before-you-begin","Before you begin",[42,73],{},[51,75,76,82],{},[54,77,78,79,81],{},"Your automation already fills the field before the date picker, for example with an ",[18,80,20],{}," step. Tabbing from that field is what places the cursor correctly.",[54,83,84,85,91,92,95,96,98],{},"Your date is available as data, for example from a ",[14,86,88],{"href":87},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fread-data-from-a-google-sheet",[18,89,90],{},"Read data from a Google Sheet"," step, in ",[61,93,94],{},"DD-MM-YYYY"," format such as ",[61,97,63],{},".",[37,100,102],{"id":101},"step-1-reformat-the-date-with-javascript","Step 1: Reformat the date with JavaScript",[42,104],{},[10,106,107,108,110,111,114],{},"The ",[18,109,27],{}," step types individual keys, so the date needs to be broken into single digits separated by the ",[61,112,113],{},"||"," delimiter.",[116,117,118,128,137],"ol",{},[54,119,120,121,124,125,98],{},"Click ",[18,122,123],{},"Add step"," and search for ",[18,126,127],{},"Write javascript",[54,129,130,131,136],{},"Select the ",[14,132,134],{"href":133},"\u002Fdocs\u002Fno-code-tool\u002Freference\u002Fsteps\u002Fwrite-javascript",[18,135,127],{}," step to add it after the step that reads your date.",[54,138,139],{},"Paste the following code, replacing the token with your own data token:",[141,142,147],"pre",{"className":143,"code":144,"language":145,"meta":146,"style":146},"language-javascript shiki shiki-themes github-light-default github-dark-default","let input = '[google-sheet-data?*&11]';         \u002F\u002F \"12-12-2025\"\nlet digits = input.replace(\u002F-\u002Fg, '').split(''); \u002F\u002F [\"1\",\"2\",\"1\",\"2\",\"2\",\"0\",\"2\",\"5\"]\nlet output = digits.join('||');                 \u002F\u002F \"1||2||1||2||2||0||2||5\"\nreturn [[output]];                              \u002F\u002F [[\"1||2||1||2||2||0||2||5\"]]\n","javascript","",[61,148,149,176,224,251],{"__ignoreMap":146},[150,151,154,158,162,165,169,172],"span",{"class":152,"line":153},"line",1,[150,155,157],{"class":156},"sjeE4","let",[150,159,161],{"class":160},"s4rv2"," input ",[150,163,164],{"class":156},"=",[150,166,168],{"class":167},"sSVrQ"," '[google-sheet-data?*&11]'",[150,170,171],{"class":160},";         ",[150,173,175],{"class":174},"sU953","\u002F\u002F \"12-12-2025\"\n",[150,177,179,181,184,186,189,193,196,199,202,205,208,211,214,216,218,221],{"class":152,"line":178},2,[150,180,157],{"class":156},[150,182,183],{"class":160}," digits ",[150,185,164],{"class":156},[150,187,188],{"class":160}," input.",[150,190,192],{"class":191},"sbjLL","replace",[150,194,195],{"class":160},"(",[150,197,198],{"class":167},"\u002F-\u002F",[150,200,201],{"class":156},"g",[150,203,204],{"class":160},", ",[150,206,207],{"class":167},"''",[150,209,210],{"class":160},").",[150,212,213],{"class":191},"split",[150,215,195],{"class":160},[150,217,207],{"class":167},[150,219,220],{"class":160},"); ",[150,222,223],{"class":174},"\u002F\u002F [\"1\",\"2\",\"1\",\"2\",\"2\",\"0\",\"2\",\"5\"]\n",[150,225,227,229,232,234,237,240,242,245,248],{"class":152,"line":226},3,[150,228,157],{"class":156},[150,230,231],{"class":160}," output ",[150,233,164],{"class":156},[150,235,236],{"class":160}," digits.",[150,238,239],{"class":191},"join",[150,241,195],{"class":160},[150,243,244],{"class":167},"'||'",[150,246,247],{"class":160},");                 ",[150,249,250],{"class":174},"\u002F\u002F \"1||2||1||2||2||0||2||5\"\n",[150,252,254,257,260],{"class":152,"line":253},4,[150,255,256],{"class":156},"return",[150,258,259],{"class":160}," [[output]];                              ",[150,261,262],{"class":174},"\u002F\u002F [[\"1||2||1||2||2||0||2||5\"]]\n",[10,264,265,266,268],{},"The step strips the dashes, splits the date into single digits, and joins them with ",[61,267,113],{}," so each digit is typed as its own key press.",[10,270,271],{},[32,272],{"alt":273,"src":274},"JavaScript step changing the date format to use in the keypress","\u002Flanding\u002Fjavascript-step-chnaging-date-format=to-use-in-keypress.webp",[276,277,278],"blockquote",{},[10,279,280,283,284,287,288,291],{},[18,281,282],{},"Note:"," If your date uses a different separator, such as ",[61,285,286],{},"\u002F",", change the ",[61,289,290],{},"replace(\u002F-\u002Fg, '')"," line to match it.",[37,293,295],{"id":294},"step-2-tab-into-the-date-field","Step 2: Tab into the date field",[42,297],{},[116,299,300,306,312],{},[54,301,120,302,124,304,98],{},[18,303,123],{},[18,305,27],{},[54,307,308,309,311],{},"Add the ",[18,310,27],{}," step directly after the step that fills the previous form field.",[54,313,314,315,318],{},"Record a single ",[18,316,317],{},"Tab"," key press.",[10,320,321],{},"Tabbing from the previous field moves focus into the date field with the cursor in the day part, so typing always starts in the right place.",[10,323,324],{},[32,325],{"alt":326,"src":327},"Write JavaScript and keypress steps in axiom.ai","\u002Flanding\u002Fwrite-js-keypress-steps-in-axiom.webp",[37,329,331],{"id":330},"step-3-type-the-date","Step 3: Type the date",[42,333],{},[116,335,336,342],{},[54,337,338,339,341],{},"Add a second ",[18,340,27],{}," step directly after the Tab step.",[54,343,344,345,347],{},"Pass in the data token from your ",[18,346,127],{}," step as the keys to press.",[10,349,350],{},"When the automation runs, the digits are typed in order: day, month, then year. The date field fills correctly every time.",[10,352,353],{},[32,354],{"alt":355,"src":356},"Keypress step with code data inserted","\u002Flanding\u002Fkeypress-step-code-data-inserted.webp",[276,358,359],{},[10,360,361,363,364,367,368,371],{},[18,362,282],{}," Type the digits in the order the field expects. This example is for a ",[61,365,366],{},"dd\u002Fmm\u002Fyyyy"," field. If the form shows ",[61,369,370],{},"mm\u002Fdd\u002Fyyyy",", reorder the parts in the JavaScript step first.",[37,373,375],{"id":374},"if-the-problem-persists","If the problem persists",[42,377],{},[10,379,380,381,385,386,98],{},"Contact ",[14,382,384],{"href":383},"\u002Fcustomer-support","support"," or ask a question in our ",[14,387,391],{"href":388,"rel":389},"https:\u002F\u002Fwww.reddit.com\u002Fr\u002Faxiom_ai",[390],"nofollow","Reddit community",[393,394,395],"style",{},"html pre.shiki code .sjeE4, html code.shiki .sjeE4{--shiki-default:#CF222E;--shiki-dark:#FF7B72}html pre.shiki code .s4rv2, html code.shiki .s4rv2{--shiki-default:#1F2328;--shiki-dark:#E6EDF3}html pre.shiki code .sSVrQ, html code.shiki .sSVrQ{--shiki-default:#0A3069;--shiki-dark:#A5D6FF}html pre.shiki code .sU953, html code.shiki .sU953{--shiki-default:#6E7781;--shiki-dark:#8B949E}html pre.shiki code .sbjLL, html code.shiki .sbjLL{--shiki-default:#8250DF;--shiki-dark:#D2A8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":146,"searchDepth":226,"depth":226,"links":397},[398,399,400,401,402,403],{"id":39,"depth":178,"text":40},{"id":70,"depth":178,"text":71},{"id":101,"depth":178,"text":102},{"id":294,"depth":178,"text":295},{"id":330,"depth":178,"text":331},{"id":374,"depth":178,"text":375},null,"Fill a Google Forms date field automatically. Reformat your date with JavaScript, then type it with key presses so every digit lands in the right place.","md",{"metaTitle":408,"type":409,"format":410,"intent_type":411,"intent":412,"tags":413,"platfrom":418,"pinned":420},"Automate a Google Forms date picker","no-code","guide","usecase","Interact with pages",[414,415,416,417],"data entry","google sheets","datepicker","webform",[419],"Google forms",true,"\u002Fguides\u002Ffill-a-datepicker-in-a-google-form",{"title":5,"description":405},"guides\u002Ffill-a-datepicker-in-a-google-form","OaHWXXTgQRiMHp1YMbcnz-UEFyf6cdzw_WZHNBfYHyg",{"id":4,"title":5,"body":6,"date":404,"description":405,"extension":406,"meta":407,"navigation":420,"order":404,"path":421,"seo":422,"stem":423,"__hash__":424,"metaTitle":408,"type":409,"format":410,"intent_type":411,"intent":412,"tags":413,"platfrom":418,"pinned":420},1784824788257]