Start a new topic

CustomDate field input type

Is there a way to accept a date field, ie CustomDate01, into a QuoteValet order form?


ie, like?

 

                <div class="form-input-area">
                    [DH_CustomDate02:InputType=Date, class="required textbox"]
                    
                </div>

 


I've done this before

                <div class="form-input-area">
                    [DH_CustomDate01:InputType=TextBox, class="textbox", id="DH_CustomDate01"]
                    <script type="text/javascript">
                        $(function () {
                            $("#DH_CustomDate01").datepicker();
                        });
                    </script>

                    <div class="form-comment">
                        (Optional: Enter your needby date.)
                    </div>
                </div>



Standard JQuery CSS line needs to be added to the header section of the HTML for formatting

<link rel="stylesheet" href="//code.jquery.com/ui/1.8.24/themes/base/jquery-ui.css">

Hi Cat,


For some reason, your code above didn't work for me.  It didn't show the field as a date picker, but rather as a text box.    I have been able to get the code below to show as a date picker, however, once the order has been accepted, it is not saving anything into the Custom_Date01 field within the quote.



 <div class="form-input-area">

      <input type="date" id="DH_CustomDate01" name="DH_CustomDate01" > 

 </div>

 

Login or Signup to post a comment