- Create a folder at the root of your user home folder
(Example:
C:/Users/uname/
) called.ssh
. - Create the following files if they do not already exist (paths begin from the root of your user home folder):
.ssh/config
<?php | |
/** | |
* Plugin Name: [Forminator] - Validation form fields. | |
* Description: [Forminator] - Validate form fields based on defined validation rule. | |
* Plugin URI: https://wpmudev.com/ | |
* Author: Abdoljabbar Bakhshande | |
* Author URI: https://wpmudev.com/ | |
* License: GPLv2 or later | |
*/ |
<?php | |
/** | |
* This add a simple verification for selected fields if those have own value | |
**/ | |
add_filter('forminator_custom_form_submit_errors', 'verification_for_unique_values_forminator_wp', 10, 3); | |
function verification_for_unique_values_forminator_wp($submit_errors, $form_id, $field_data_array) { |
<?php | |
add_action( 'wp_footer', function(){ ?> | |
<script> | |
(function ($) { | |
$(function () { | |
$(document).on("after.load.forminator", function (e, id) { | |
var cvalinput = $('.custom-validate input'); | |
let regx = /^[0-9]*$/; |
<?php | |
/** | |
* Plugin Name: [Forminator] Custom number format for Calculation field. | |
* Description: [Forminator] Custom number format for Calculation field. | |
* Jira: SLS-470 | |
* Author: Thobk @ WPMUDEV | |
* Author URI: https://premium.wpmudev.org | |
* License: GPLv2 or later | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |