Date function default to current date...
                          Hi, all I'm wondering if there is a way to have the DATE box auto-fill with the current system date? I have searched and haven't found this mentioned at all. I'm using the latest version, and hosting the form locally.
Thanks!
        Thanks!
                          Add this to the input value.
value="<?php echo date('m/d/Y'); ?>"
So your date input will look something like this on the formname.html
            
                                    
        value="<?php echo date('m/d/Y'); ?>"
So your date input will look something like this on the formname.html
<input name="date" class="datepicker" id="item34_date_1" required type="text"
data-hint="" value="<?php echo date('m/d/Y'); ?>" />
data-hint="" value="<?php echo date('m/d/Y'); ?>" />
              I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
            
                      It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
 Ah, great. Many Thanks!
  Ah, great. Many Thanks!
            
                                  
                          Joyous day. Is there a way to do this with the latest version of Web Form Builder 2.5+ ?
I have tried the older and other suggestions without success.
Please advise...thanks!
        I have tried the older and other suggestions without success.
Please advise...thanks!
                          Here' another way.
Paste the code below into a html element.
Adjust the date1 in jQ('input[name="date1"]').val(currdate); to the name of your input.
        Paste the code below into a html element.
Adjust the date1 in jQ('input[name="date1"]').val(currdate); to the name of your input.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
var jQ = $.noConflict(true);
jQ( document ).ready(function() {
var currdate = new Date();
var currdate= (currdate.getMonth()+ 1) + '/' + currdate.getDate() + '/' + currdate.getFullYear();
jQ('input[name="date1"]').val(currdate);
});</script>
            
                                    <script>
var jQ = $.noConflict(true);
jQ( document ).ready(function() {
var currdate = new Date();
var currdate= (currdate.getMonth()+ 1) + '/' + currdate.getDate() + '/' + currdate.getFullYear();
jQ('input[name="date1"]').val(currdate);
});</script>
              I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
            
                      It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
                          I am grateful, resolved!
            
                                  
        Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.