thead Posted June 2, 2022 Report Share Posted June 2, 2022 Is it possible to create a date field that the users can manually insert the format like MM-DD-YYYY and make the dash included in the field as well? Quote Link to comment Share on other sites More sharing options...
0 Sivad Posted June 2, 2022 Report Share Posted June 2, 2022 We can achieve the desired result using custom JavaScript coding. To do this, please try to add a Header and Footer to your submission form, and please put these codes after you disabled the HTML editor:Header:<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.7/jquery.inputmask.min.js" integrity="sha512-jTgBq4+dMYh73dquskmUFEgMY5mptcbqSw2rmhOZZSJjZbD2wMt0H5nhqWtleVkyBEjmzid5nyERPSNBafG4GQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>Footer:<script>$("#InsertRecordFieldName").inputmask({"mask": "99-99-9999","placeholder" : "MM-DD-YYYY"});</script> Quote Link to comment Share on other sites More sharing options...
0 GoodBoy Posted June 2, 2022 Report Share Posted June 2, 2022 Hello ~ you might wanna check this solution as well. - https://howto.caspio.com/tech-tips-and-articles/common-customizations/separate-input-fields-for-datetime-parts/ Quote Link to comment Share on other sites More sharing options...
0 futurist Posted November 20, 2023 Report Share Posted November 20, 2023 You may refer to this Forum post to validate data entry to make sure that they follow this format: www.websitenamehere.com Quote Link to comment Share on other sites More sharing options...
Question
thead
Is it possible to create a date field that the users can manually insert the format like MM-DD-YYYY and make the dash included in the field as well?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.