Register_Info_New_User_WPForm Test

function wpf_snipTestDB_process_complete( $fields, $entry, $form_data, $entry_id ) { // Optional, you can limit to specific forms. Below, we restrict output to // form #12759. if ( absint( $form_data[‘id’] ) !== 12759 ) { error_log(“Id form no encontrado”); return; } //…Continue reading

Show Values Check and round box

/** * Add field values for dropdown, checkboxes, and multiple choice fields * * @link https://wpforms.com/developers/add-field-values-for-dropdown-checkboxes-and-multiple-choice-fields/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_fields_show_options_setting’, ‘__return_true’ );Continue reading

Mostrar_Lista_Beneficiarios_Bitacoras

$user_id = get_current_user_id(); if ($user_id == 0){ error_log( ‘Unable to get user id!’ ); return; } global $wpdb; $results = $wpdb->get_results( “SELECT id_registro,nombre,a_paterno,a_materno FROM `Resgistro_Usuario` where id_usuario=”.$user_id ); ?> Nombre Apellido Paterno Apellido Materno Ver Bitacoras Ver lista de GrabacionesContinue reading

limitar_tamaño_tel

/** * Limit number range allowed for a Numbers field * Apply the class “wpf-num-limit” to the field to enable. * * @link https://wpforms.com/developers/how-to-limit-range-allowed-in-numbers-field/ */ function wpf_dev_num_limit() { ?>Continue reading

disable-field-wpforms

/** * Make standard form fields to make read-only * To apply, add CSS class ‘wpf-disable-field’ (no quotes) to field in form builder * * @link https://wpforms.com/developers/disable-a-form-field-to-prevent-user-input/ */ function wpf_dev_disable_field() { ?>Continue reading

Contar_Elementos_telefono

/* * Check the single line text field for profanity. * * @link https://wpforms.com/developers/wpforms_process_validate_text/ * * @param int $field_id Field ID. * @param array $field_submit Unsanitized field value submitted for the field. * @param array $form_data Form data and settings.…Continue reading

Modificar_Familiar

function wpf_snip_Modify_Familiar_process_complete( $fields, $entry, $form_data, $entry_id ) { // form #15755. if ( absint( $form_data[‘id’] ) !== 15755 ) { error_log(“Id form no encontrado”); return; } $user_id = get_current_user_id(); if ($user_id == 0){ error_log( ‘Unable to get user id!’ );…Continue reading

Agregar Miembro

function wpf_snip_StoreData_UserDB_process_complete( $fields, $entry, $form_data, $entry_id ) { // form #12330. if ( absint( $form_data[‘id’] ) !== 12330 ) { error_log(“Id form no encontrado”); error_log($form_data[‘id’]); return; } $user_id = get_current_user_id(); if ($user_id == 0){ error_log( ‘Unable to get user id!’…Continue reading

Agregar Familiar

function wpf_snip_StoreData_FamiliarUserDB_process_complete( $fields, $entry, $form_data, $entry_id ) { // form #12330. if ( absint( $form_data[‘id’] ) !== 12546 ) { error_log(“Id form no encontrado”); return; } $user_id = get_current_user_id(); if ($user_id == 0){ error_log( ‘************************************************************’ ); error_log( ‘No obtuvo el…Continue reading