- // show edit for main profile
- cj(document).on('change', 'select[id^="custom_p"]', function( event ) {
- buildLinks( cj(this), cj(this).val());
- });
-
- // make sure we set edit links for main contact profile when form loads
- cj('select[id^="custom_p"]').each( function(e) {
- buildLinks( cj(this), cj(this).val());
- });
-
- //show edit profile field links in additional participant
- cj(document).on('change', 'select[id^="additional_custom_p"]', function( event ) {
- buildLinks( cj(this), cj(this).val());
- });
-
- // make sure we set edit links for additional profile when form loads
- cj('select[id^="additional_custom_p"]').each( function(e) {
- buildLinks( cj(this), cj(this).val());
- });
-