> @rondev said: > Put the below code in the look & feel -> General -> header -> source view(<>) > > <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css"> > <script src="https://cdn.jsdelivr.net/npm/flatpickr"></script> > > Use the below code in the text entry question > > jQuery("#"+this.questionId+" .InputText").flatpickr({ > dateFormat: "Y-m-d H:i", > minDate: new Date() > }); > > I tried to insert the code into the text entry question into "Add Java Script" window. And the following message popped up. "Invalid JavaScript! You cannot save until you fix all errors: Invalid regular expression." How should it be done actually? Would appreciate more guidelines on this! Thanks!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.