Closed Khrysller closed 10 years ago
Can you add a screenshot?
yes, just added. thanks
Should be fixed in 957be5c14c6304227ae4af96ff9094d1fcb8a4a3
Hi. Why the datepicker comes with the input field disabled? As it is, when I submit the form, I am not able to get the value. How can I enable the field?
Hi,
The field is not disabled, it is set to readonly. How are you trying to get the value?
Yes, I am. Before the last update I was able to get the value. I am submiting a form using post.
Can you copy paste the code you are using to get the value?
< form action="anotherpage.asp" class="form-horizontal top-margin-medium" role="form" method="post"> < div class="bfh-datepicker" name="DataFinal" data-format="d/m/y">
and in the anotherpage.asp page
<% DataFinal= Request.Form("DataFinal") %>
If the field is readonly I am not able to get the value. There is a flag I can remove the readonly? Thanks
I think the situation is more than I was thinking.. I looked into .JS and removed the readonly tag... so now to field is without the readonly... and saw to chnages you made to minimize the amount of code inside the html... and it still do no sent the value...so you generate it in the JS now... maybe is is prevent the form to get the id to send the form value? I dunno what to do... in the last version i was able to send the value using this code:
I just updated with the last CSS and JS but still not able to get the values after the change you made in the way generate the input, the calendar, the controls... I don't have the JS and CSS file that works in the way it worked anymore. I am thinking about to switch to the last version that worked (the one you have to put everything in the html), but I don't have the files. Can you please point me? Thanks
Hi,
Can you try changing name="DataFinal" to data-name="DataFinal"?
I was just in debug and found the input field wasn't getting the name... the field name is empty. How can I send the name to the input field? Thanks
This is the debug line: "< input class="form-control" type="text" name="" data-original-title="" title="">"
This is what i was doing: < div class="bfh-datepicker" name="DataInicial" data-format="d/m/y">
Using data-name="DataFinal".
My bad, sorry for do not understand the Options you already have doc in. I was only blind by the code itself. Works fine now. Thanks for the patience
Great!
One of the days rows did not get styled.