DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Form Validator  
DwZone Forum Index -> Form Validator
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 1 to 10 of 23 (Total: 23) First |  Prev |  Next |  Last  
 Subject Author Date  
   Php Bootstrap Validator   
View this persons public profile  MichelKant   9:26 3 Jun 2018  
    Php Bootstrap Validator  
View this persons public profile  Gerardo   18:29 17 May 2017  
 
Hi!

I use the extension on my DW CS6. I create a new PHP file only with a form. This is the result:

<?php
//****************
// Bootstrap Validator
//****************
require_once('dwzBootstrapValidator/dwzBootstrapValidator.php');
?><?php
//*********************************
// http://www.DwZone-it.com
// Bootstrap Validator
// Version 1.0.1
// Start Code
//*********************************
$dwzBV = new dwzBootstrapValidator();
$dwzBV->Init();
$dwzBV->SetParams("form1@dwz@500@dwz@false@dwz@true@dwz@true@dwz@false@dwz@false@dwz@false@dwz@true@dwz@glyphicon glyphicon-ok@dwz@@dwz@glyphicon glyphicon-remove@dwz@@dwz@El campo no es valido@dwz@None@dwz@Label@dwz@@dwz@default");
$dwzBV->addField("usuario", "text", "alphanumeric@col@Alphanumeric [a-z 0-9]@col@El campo requiere datos alfanumericos@col@@col@@col@@col@@col@@col@", "yes@col@glyphicon glyphicon-ok@col@glyphicon glyphicon-alert@col@@col@");
$dwzBV->addField("password", "text", "alphanumeric@col@Alphanumeric [a-z 0-9]@col@Caracteres alfanumericos para el password@col@@col@@col@@col@@col@@col@", "Inherited@col@@col@@col@@col@");
$dwzBV->Validate();
//***********************
//End Code
//***********************
?><!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<form action="" method="post" name="form1" id="form1">
<input name="usuario" type="text" id="usuario" size="20">
<input name="password" type="text" id="password" size="20">
<input name="submit" type="submit" id="submit">
</form><script type="text/javascript" src="dwzBootstrapValidator/validator.js"></script>
</body><?php
//*********************************
// Bootstrap Validator
//*********************************
$dwzBV->Insert();
//*********************************
?>
</html>


Where is all the Bootstrat definitions?

Thank you.
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Php Bootstrap Validator  
View this persons public profile  Gianluigi   9:49 18 May 2017  
   Re: Php Bootstrap Validator  
View this persons public profile  Gerardo   15:28 21 May 2017  
   Re: Php Bootstrap Validator  
View this persons public profile  Gianluigi   10:17 22 May 2017  
   Re: Php Bootstrap Validator  
View this persons public profile  Gerardo   16:42 22 May 2017  
   Re: Php Bootstrap Validator  
View this persons public profile  Gianluigi   0:14 23 May 2017  
   Re: Php Bootstrap Validator  
View this persons public profile  Gerardo   13:19 23 May 2017  
   Re: Php Bootstrap Validator  
View this persons public profile  Gianluigi   13:52 23 May 2017  
   DWZone not appearing in behaviors  
View this persons public profile  MeganDouglas   4:15 30 Nov 2015  
Last Visit: Sunday 16 Feb, 2020 7:18 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT+8

Jump to: