2227 comments found.
How to set format date in DD/MM/YYYY and validate it?
Please be more specific in your questions. To set the format where? In input field, in date picker (if yes, which one are you using), calendar etc.
I sent you email yesterday
Hey
Just replied back, sorry for delay. Thanks
I’m trying to validate a form using validate.js in ASP.NET and I want to process server side code “OnServerClick” if the validation is successful, I want to know what function to call in “onclick” so that if it returns true the onserverclick fires afterwards?
I’m not experienced with asp.net, so can’t help you much i’m afraid. But found this example. Quick reference – Submit handler.
Hope this helps.
Thanks, here is how I did it: Script: <script type=”text/javascript”> $(function () { $(’#form1’).validate({
errorElement: 'span',
errorClass: 'help-inline',
focusInvalid: false,
invalidHandler: function (event, validator) { //display error alert on form submit
$('.alert-error', $('.login-form')).show();
},
</script>
<script type="text/javascript">
function checkValidate(evt) {
// Validate the form and retain the result. //
alert("in validate");
var isValid = $('#form1').valid();
// // If the form didn't validate, prevent the form submission. //
//debugger;
alert(isValid);
if (!isValid) {
evt.preventDefault();
evt.stopPropagation();
return false;
}
else
return true;
}
highlight: function (e) {
$(e).closest('.control-group').removeClass('info').addClass('error');
},
})
success: function (e) {
$(e).closest('.control-group').removeClass('error').addClass('info');
$(e).remove();
},
});
submitHandler: function (form) {
},
invalidHandler: function (form) {
}
</script>
button: <button type=”button” runat=”server” id=”btnSave” onclick=”javascript:if (!checkValidate(event)) return false;” onserverclick=”SaveData” causesvalidation=”true”>Save </button>
form: <form class=”form-validate-jquery” runat=”server” id=”form1” action=”#”>
Glad you’ve managed to fix it, thanks for the tip!
Hello;
I love this theme. But I have some questions;
1. Most of the things on it are not clickable. I can’t logout, etc. How do I make those things work on the demo?
2. I have a huge project I am starting that is being developed with zurb foundation on the frontend. Could I use this them with it? For the backend?
Thanks.
Hello
1. You can’t do it in the demo, since it’s a static HTML template and doesn’t have any server side integrations. But for login/logout you can use form action attribute
2. The template is based on Bootstrap, so if your front end and back end are separated, i don’t think you’ll have any problems.
Thanks
How to enable PNotify notifications on every page ? I insert int JS files and copy the button code from example page … but it doesn’t work … Second … how to customize the message in PNotify ?
Hi
You need to include pnotify.min.js globally and initialize it somewhere, in app.js for example. The code you need is:
new PNotify({
title: 'Primary notice',
text: 'Check me out! I\'m a notice.',
icon: 'icon-warning22'
});
And depending on the style you need, you can extend it with proper class names. Take a look at assets/js/pages/components_notifications_pnotify.js file and pick a style you want to use.
Let me know if you need further help.
Thanks
I’m trying to move error container below textarea in this way. But error message continue appearing between toolbar and textarea. Any help?
<div class="form-group">
<label>Your message:</label>
<textarea rows="5" cols="5" name="textarea" class="wysihtml5 wysihtml5-min form-control" required="required" placeholder="Default textarea" validation-error-label="#message_error"></textarea>
<div id="message_error"> </div>
</div>
I don’t understand, sorry – what toolbar? If it’s validation error, why do you need <div id="message_error />" container?
When i Use a wysihtml5 with required attribute, error appears between toolbar (of wysihtml5 editor) and textarea.
Check out image: https://ibb.co/bFMDYk
You need to adjust error label placement in validation configuration. By default, label gets inserted after element, in your case textarea. So should be something like:
if (element.parent('div').hasClass('some-class')) {
error.appendTo( element.parent() );
}
inside errorPlacement function.
On datatable_responsive.html, when table have < 3 lines, dropdown menu at right of line is not showed correctly, when opened appear behind table header. How to fix to display correcly?
TKS
You need to change DOM property in datatables init, change this:
dom: '<"datatable-header"fl><"datatable-scroll"t><"datatable-footer"ip>'
to this:
dom: '<"datatable-header"fl><""t><"datatable-footer"ip>'
Thanks
In scrollable table (normal table) it vertical scroll entire table, is there any way to make header stay on position while the body of table scrolling?
Does the “Limitless – Responsive Web Application Kit” fully support Microsoft Edge browser? If not, when will provide the full support. Currently, I see multiple issues when resizing that are only resolved by refreshing the page.
Hi
It should work fine in Edge, can you please share more details? What exactly doesn’t work? I’ve tested all layouts a while ago and didn’t notice any issues, so more details would be helpful.
Thanks!
can i make ‘Tile Buttons Menu’ to fit a screen on the heandphone and how to make it
Thank you
I am not sure i understand what you mean by that – what is “tile buttons menu”?
Thanks
what i mean is a some like dashboard which like “arrange tile” windows 10 sytle. so i want on the dashboard has 9 box which it would be shrink when in mobile state, not be like a box list
Sorry for delay.
Well everything is possible
But it requires quite a lot of work to make it stackable on mobile and small screen sizes. Here is an example.
Thanks
ok….thanks
Hi, we love your template and will use it in our new project. Our project will use VUE as frontend framework. Is it possible to integrate the component plugins, like Calender, with VUE component?
Hi
Unfortunately i’m not experienced with Vue.js, so can’t help you much i’m afraid. But should be possible as i was able to find quite a lot of wrappers for almost all popular plugins – fullcalendar, select2 etc.
Hope this helps. Thanks
Hi, i want to use CPU usage widget on page general widgets stats. but when i copy the code for CPU usage only with the plugin its not working. its only working if i copy all the others widget code. why?
Hi
Can you please send your code to e.kopyov[at]gmail.com? Need to see how and what you’re trying to initialize.
Thanks
done, please inform me if you didnt receive my email
Nope, i didn’t receive your email. Please try again
did you receive?
Yes and replied back. Thanks
i am making dropdown menu with checkboxes and i want when i click my checkbox for check/uncheck, the dropdown menu will stay visible and not gone when i click.
how to do that?
You can try this solution or simply add .dropdown-content class to your dropdown menu container.
Thanks
Hi
Make sure you’ve included app.js and check for JS errors in browser console.
If that doesn’t help, please send me your code to e.kopyov[at]gmail.com, i’ll check it out.
Thanks
Hi, are you going to be adding a homepage / landing page for this template?
Hi
Not in the upcoming update, but considering for 2.1
Thanks
Hi Eugene, I sent you an email yesterday regarding an urgent help with datatable filter issue. Would appreciate your help. Thanks!
Hi
I’ve replied back to your email. Please check
Hi. Will the update contain everything that this version has or will many of the things be removed? Will it look very different? Sorry to bug about the update, just trying to make some decisions. Thanks
Hey
Yes sure, some minor changes here and there, but in general everything remains the same.
Thanks!
do you have plan to make floating breadcrumb? so when user scroll down the page then still view the breadcrumb at the top of screen
Hi
Yes, in a new version this will be possible.
Thanks
I don’t get the checkboxes styled and I don’t know what I’m doing wrong: have select2 and uniform min.js loaded. Checkboxes have class “styled” and following javascript is applied: $(”.styled”).uniform({radioClass: ‘choice’});
Do you get any JS errors? Can you share full JS code of select2 and uniform inits?
No JS errors at all. For the moment I only have following javascript call : $(”.styled”).uniform({radioClass: ‘choice’}); <script type=”text/javascript” src=”/static/assets/js/plugins/forms/selects/select2.min.js”></script> <script type=”text/javascript” src=”/static/assets/js/plugins/forms/styling/uniform.min.js”></script> Does the order matter?
Can i see the whole page somehow? You can email me a link or the entire code to e.kopyov[at]gmail.com, might be some minor issue somewhere.
Side note – do you wrap uniform init function in:
$(function() {
// your code for uniform
});
Hi. Any ideas when next release? and how can I look at which stage is it now? GitHub access or smth?!
Hi
No ETA at the moment, sorry. And no way to preview the new version, it’s in progress and will be out within a month as i’ve mentioned in other comments.
Thanks
Thanks! Sounds promising