PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.9.6
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.9.6
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
profile-builder / assets / js / jquery-email-confirmation.js

jquery-email-confirmation.js in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 3.9.6, at assets/js/jquery-email-confirmation.js

67 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 function wppb_display_page_select( value ){
2 if ( value == 'yes' ){
3 jQuery ( '#wppb-settings-activation-page' ).show();
4 jQuery ( '.dynamic1' ).show();
5
6 }else{
7 jQuery ( '#wppb-settings-activation-page' ).hide();
8 jQuery ( '.dynamic1' ).hide();
9 }
10 }
11
12
13 function wppb_display_page_select_aa( value ){
14 if ( value == 'yes' )
15 jQuery ( '.dynamic2' ).show();
16
17 else
18 jQuery ( '.dynamic2' ).hide();
19 }
20
21 function wppb_display_page_select_re( value ){
22 if ( value == 'yes' )
23 jQuery ( '.dynamic3' ).show();
24
25 else
26 jQuery ( '.dynamic3' ).hide();
27 }
28
29 function wppb_display_page_select_cr( value ){
30 if ( value == 'yes' )
31 jQuery ( '.dynamic4' ).show();
32
33 else
34 jQuery ( '.dynamic4' ).hide();
35 }
36
37
38 jQuery(function() {
39 if ( ( jQuery( '#wppb_settings_email_confirmation' ).val() == 'yes' ) || ( jQuery( '#wppb_general_settings_hidden' ).val() == 'multisite' ) ){
40 jQuery ( '#wppb-settings-activation-page' ).show();
41 jQuery ( '.dynamic1' ).show();
42
43 }else{
44 jQuery ( '#wppb-settings-activation-page' ).hide();
45 jQuery ( '.dynamic1' ).hide();
46 }
47
48
49 if ( jQuery( '#adminApprovalSelect' ).val() == 'yes' )
50 jQuery ( '.dynamic2' ).show();
51
52 else
53 jQuery ( '.dynamic2' ).hide();
54
55
56 if ( jQuery( '#rolesEditorSelect' ).val() == 'yes' )
57 jQuery ( '.dynamic3' ).show();
58
59 else
60 jQuery ( '.dynamic3' ).hide();
61
62 if ( jQuery( '#contentRestrictionSelect' ).val() == 'yes' )
63 jQuery ( '.dynamic4' ).show();
64
65 else
66 jQuery ( '.dynamic4' ).hide();
67 });