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
function CheckForSpecialCharacters(executionContext) { | |
'use strict'; | |
var formContext = executionContext.getFormContext(); | |
var StreetAddressField = formContext.getAttribute("crf8e_nombre").getValue(); | |
const specialChars = /[`!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/; | |
if (StreetAddressField === null) return; | |
if (specialChars.test(StreetAddressField)) { | |
formContext.getControl("crf8e_nombre").setNotification("The following characters are not allowed: [`!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]", 102); |
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
jQuery(document).ready(function( $ ){ | |
if (window.matchMedia('(min-width: 767px)').matches) { | |
var test = jQuery(".hide-text:nth-of-type(2)").html(); jQuery(".hide-text:nth-of-type(2)").html(test.replace('text','')); | |
var test = jQuery(".hide-text:nth-of-type(1)").html(); jQuery(".hide-text:nth-of-type(1)").html(test.replace('text','')); |
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
/*upload ico files */ | |
function upload_ico_files( $types, $file, $filename, $mimes ) { | |
if ( false !== strpos( $filename, '.ico' ) ) { | |
$types['ext'] = 'ico'; | |
$types['type'] = 'image/ico'; | |
} | |
return $types; | |
} | |
add_filter( 'wp_check_filetype_and_ext', 'upload_ico_files', 10, 4 ); |
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
<a href="https://fabagon.com/wp-content/uploads/Captura-de-pantalla-Model-driven-Power-Apps-Aplicacion-de-demostracion.webp"> | |
<figure class="wp-block-image size-full"> | |
<img src="https://fabagon.com/wp-content/uploads/Captura-de-pantalla-Model-driven-Power-Apps-Aplicacion-de-demostracion.webp" alt="" class="wp-image-1350"/><figcaption class="wp-element-caption">Captura de pantalla de una aplicación de demostración hecha con Model-driven Power Apps</figcaption></figure> | |
</a> |
OlderNewer