I am using Parsley JS for form validation but I don't know what I am missing. Right now, HTML5 is doing the validation part of it. I would be truly grateful if someone can assist because I am racking my brain and cannot figure it out.
Here is my code.
Form Only Code:
http://hastebin.com/ecofitidir.html
Full Page Code:
http://hastebin.com/etawaduqif.html
Website:
www.polarpos.com/contacttest/application.php
your code is ok, by the way do not use any js script just the parsley.min.js and data attr!
i have tried your code and the validation works perfect. try to download the parsley.min.js again and make sure your scripts like so :
Your code is fine don't change it.
and by the way it does not need any ja code to work. here's my code. i have tried it on laravel project of mine
Related
I'm experimenting with the angularjs phonecat tutorial (I'm at step 5) to better understand how angular works. But I fail to manage to log the value of the input field to the console. I tried different approaches, but none of them are working.
How can I access the $ctrl.query variable, and log it whenever it changes? Do I use $watch?
I hope somebody can show me how it is done and maybe explain in detail why and how it is working.
Ok, I seem to have found a solution. I added this to the controller of the phoneList component.
Learning Angular is really not that easy ^^.
I am novice to AngularJS. I was using routerto move from one form to another, but I dono't know why , my routing is not working properly and it showing Loading failed for the with source error.
This is my plunker: https://plnkr.co/edit/jE195zsrQjc6pO8Ftrzw
Please let me know where I am going wrong.
I'm working to integrate noflo into AngularJS. For some reason, I've only been able to find an old answer that seemed to direct users wanting to do this to "the-graph", but wasn't super-clear: github.com/noflo/noflo/issues/286.
I am working to attempt to integrate into AngularJS; if anyone has a working example of doing this, a plukr or fiddle would be appreciated.
Secondly, the "left-click" option that allows editing node properties doesn't appear functional in the-graph example. It seems to work here, but not here. I was wondering how to get the search/properties edit box for each node to function when including inside an existing UI.
So, in sum,
How can I get the "left-click" node properties to show up in a custom UI?
How can I best integrate noflo into AngularJS? The-graph has a ton of other libraries that appear to need to be added (React, Polymer, HammerJS, KlayJS, KlayJS-NoFlo, etc..)
Thanks for any help!
It is not clear what you hope to achieve. Do you want to:
Program webapps using NoFlo and AngularJS?
Make an app (using AngularJS) with a node-editor like the one used in NoFlo UI (the-graph)?
Or something else?
I am trying to run the following code to generate a simple To Do list app using Angular: https://raw.githubusercontent.com/kumarneetesh24/angular-app/master/mytodoapp.html
But I am getting the following output.
Could any one help me to find out what i am missing .Apart from this the app is not creating new tasks (upon entering and pressing go)
Your angular js file is not getting loaded .
use this script tag :
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
You First Need to do some re-search and Understand the Concept . Looks
like you copy pasted the code from some where and asking for help .
This type of posts are not acceptable as per stack overflow documentation.
Glad Some of the Guys helped you with out any suggestions which is
Good but at least let them know what they missing .
I provided you plunker :-
learn todo
https://plnkr.co/edit/dA0bSLWm3T7KYctQosO7?p=preview
Understand your self and Update your post How you Figured
Thanks.
.
There is no problem in your code. You must add localhost to the Trusted Sites Zone or publish your code to the target server.
I am new to angular and it seems very interesting
I am creating a template for a promotional page and struggling to understand what is causing an issue on it - half of the script stopped working...
My fiddle is in here see >
fiddle example
or Plunker
I have working example without route...
Can you advice me how to fix this issue please
First of all, i'd suggest you to separate your project to different files based on best practises
Secondly, 'config, controller, factory' etc are methods of angular.module object. So you need to retrieve it first like
angular.module('<moduleName>').config(...)
or use some variable.
http://plnkr.co/edit/CK5R2cS7Zd9T9Kun9Epc?p=preview