This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$auth="authkey"; | |
$leadowner = $_POST['lowner']; | |
$firstName = $_POST['fname']; | |
$lastName = $_POST['lname']; | |
$email = $_POST['email']; | |
$phone = $_POST['phone']; | |
$url = 'https://crm.zoho.com/crm/private/xml/Leads/insertRecords?'; | |
$post = 'newFormat=1&authtoken='.$auth.'&scope=crmapi&xmlData=<Leads> | |
<row no="1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// function to get only numbers in input field | |
function validateKeyStrokes(event) { | |
var charCode = (event.which) ? event.which : event.keyCode; | |
if (charCode > 31 && (charCode < 48 || charCode > 57)) { | |
return false; | |
} | |
return true; | |
} | |
// use like this onkeypress="return validateKeyStrokes(event)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var sass = require('gulp-sass'); | |
var minifyCss = require('gulp-minify-css'); | |
var rename = require('gulp-rename'); | |
var connect = require('gulp-connect'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var paths = { | |
sass: ['./scss/**/*.scss','./www/lib/ionic/scss/**/*.scss'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
//var filename = ''; | |
var prompt = require('prompt'); | |
// make a simple validation for filename | |
var filename = { | |
properties: { | |
filename: { | |
patturn: /^[a-zA-Z\s\-]+./, | |
message: 'Filename', |