Hi @abdallahelhadad
I hope you are doing well.
We have some possibilities here but all of them require some custom coding.
1. Using the Hidden field, you can set a custom value, let’s say define a flag “hidden” “show”, and configure the payment field using that flag to show or hide via field conditional https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#Forminator-Conditional-Logic
add_filter( 'forminator_field_hidden_field_value', function( $value, $saved_value, $field ){ .. your logic }
2. modifying the field render
do_action( 'forminator_before_form_render', $id, $form_type, $post_id, $form_fields, $form_settings );
Along with
apply_filters( 'forminator_field_stripe_markup', $html, $attr, $field );
But note that creating the full solution will be outside the scope of support we can provide. For that, you’ll need to hire a developer to provide the required custom code for you. WordPress provides a jobs directory here https://jobs.wordpress.net/, if you need further advice about it, feel free to email [email protected].
Subject: ATTN: WPMU DEV support – wp.org
Kind regards,
Patrick Freitas