This file contains hidden or 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
// Setup | |
var collection = { | |
"2548": { | |
"album": "Slippery When Wet", | |
"artist": "Bon Jovi", | |
"tracks": [ | |
"Let It Rock", | |
"You Give Love a Bad Name" | |
] | |
}, |
This file contains hidden or 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
// Setup | |
var collection = { | |
"2548": { | |
"album": "Slippery When Wet", | |
"artist": "Bon Jovi", | |
"tracks": [ | |
"Let It Rock", | |
"You Give Love a Bad Name" | |
] | |
}, |
This file contains hidden or 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
//Setup | |
var contacts = [ | |
{ | |
"firstName": "Akira", | |
"lastName": "Laine", | |
"number": "0543236543", | |
"likes": ["Pizza", "Coding", "Brownie Points"] | |
}, | |
{ | |
"firstName": "Harry", |
This file contains hidden or 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
<div class="base"> | |
<div class="div col-md-6 p-3 p-md-5 purple"> | |
<h2>Take your websites to the next level!</h2> | |
Works like a perfect website. | |
</div> | |
<div class="div col-md-6 p-5 d-flex flex-column full-height yellow"> | |
<h2>Get your website & mobile app together!</h2> | |
Works like a perfect mobile app. | |
</div> | |
</div> |
This file contains hidden or 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
<?php | |
/** | |
* Gravity Wiz // Gravity Forms // Validate that a Value Exists | |
* | |
* Ensure that a value entered in Form A has been previously submitted on Form B. This is useful if you're generating a reference number of some sort | |
* on Form B and would like the user to enter it on Form A. | |
* | |
* @version 1.9 | |
* @author David Smith <[email protected]> | |
* @license GPL-2.0+ |
This file contains hidden or 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
<?php | |
// Gravity Wiz // Gravity Forms // Validate that a Value Exists | |
class GW_Value_Exists_Validation { | |
protected static $is_script_output = false; | |
public function __construct( $args = array() ) { | |
// set our default arguments, parse against the provided arguments, and store for use throughout the class |
This file contains hidden or 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
<?php | |
class GW_Value_Exists_Validation { | |
protected static $is_script_output = false; | |
public function __construct( $args = array() ) { | |
// set our default arguments, parse against the provided arguments, and store for use throughout the class | |
$this->_args = wp_parse_args( $args, array( | |
'target_form_id' => false, |
This file contains hidden or 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
Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /Users/saif/Local Sites/45960/app/public/wp-content/plugins/gravityforms/common.php:1373 | |
Stack trace: | |
#0 /Users/saif/Local Sites/45960/app/public/wp-content/plugins/gravityforms/common.php(1373): strpos(Array, '{') | |
#1 /Users/saif/Local Sites/45960/app/public/wp-content/plugins/gravityforms/includes/fields/class-gf-field.php(2028): GFCommon::replace_variables_prepopulate(Array) | |
#2 /Users/saif/Local Sites/45960/app/public/wp-content/plugins/gravityforms/includes/fields/class-gf-field.php(1996): GF_Field->get_value_default() | |
#3 /Users/saif/Local Sites/45960/app/public/wp-content/plugins/gravityforms/form_display.php(4099): GF_Field->get_value_default_if_empty(Array) | |
#4 /Users/saif/Local Sites/45960/app/public/wp-content/plugins/gravityforms/form_display.php(4021): GFFormDisplay::get_field_content(Object(GF_Field_Address), Array, false, 109, Array) | |
#5 /Users/saif/Local Sites/45960/app/public/wp-content |
This file contains hidden or 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
<?php | |
/** | |
* Gravity Wiz // Gravity Forms // Validate that a Value Exists | |
* | |
* Ensure that a value entered in Form A has been previously submitted on Form B. This is useful if you're generating a reference number of some sort | |
* on Form B and would like the user to enter it on Form A. | |
* | |
* @version 1.8.1 | |
* @author David Smith <[email protected]> | |
* @license GPL-2.0+ |
OlderNewer