Web Form Builder - Displayed date...

User 2805454 Photo


Guest
7 posts

Using "Web Form Builder" I've created a form which include a date label.
Property is French date format, show always and required.
When the form is called, no problem to insert the date with datepicker.
The problem is when this form is called by an other form, the date value transmitted by available ($_POST), the date is displayed a short time then cleared !

How can it be solved ?
User 187934 Photo


Senior Advisor
20,266 posts

Hi ELF 92,
Can we have a link to the form with the issue?
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
User 2805454 Photo


Guest
7 posts

Thank's Eric for your response.
First of all, I would like to correct my mistake: the variable is not transmitted by $_POST, but by $_GET.

I leave a temporally example at:
http://date.ascebillard.fr

The received date is displayed in the input text, but not in the input date.
User 187934 Photo


Senior Advisor
20,266 posts

Link doesn't work for me.
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
User 2805454 Photo


Guest
7 posts

I apologize.
It's corrected.
User 187934 Photo


Senior Advisor
20,266 posts

You have a stray </form> tag and a missing </div> tag.
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
User 187934 Photo


Senior Advisor
20,266 posts

Give this a try.
Put it on your actual form page below all other scripts.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script> <script>var jQ =$.noConflict(true);
jQ(function() {
jQ('input[name="dateField"]').removeClass('datepicker');
jQ('input[name="dateField"]').addClass('datepick');
jQ( ".datepick" ).datepicker();
});</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
User 2805454 Photo


Guest
7 posts

It's done, but I'm affrayed but the result is the same.
User 187934 Photo


Senior Advisor
20,266 posts

Try moving the script to the bottom of your form.
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
User 2805454 Photo


Guest
7 posts

The date seems to flash a longer time, but still disappears.

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.