Hi,
thanks for you quick reply! Tried it with JS and well yes it work’s but as you mentioned it’s not really solid and leads into other issues.
Do you know if there is an easy way to include the whole “payment-table” step below the registration form? This would also solve my problem.
I already have a custom template for the registration form template.
`<div class=”entry-text”>
<h4>Die Registrierung dauert nur 2 Minuten. Nach dem Ausfüllen der Felder wird sofort Ihr Benutzerkonto erstellt.</h4>
<p>Mit * gekennzeichnete Felder sind Pflichtfelder!</p>
</div>
<div class=”left fusion-one-half fusion-layout-column fusion-spacing-yes”>
<?php if ( is_ms_registration_form_title_exists() ) : ?>
<legend><?php echo get_ms_registration_form_title(); ?></legend>
<?php endif; ?>
<?php
echo get_ms_registration_form_fields();
echo ‘</div><div class=”right fusion-one-half fusion-layout-column fusion-column-last fusion-spacing-yes”><div class=”ms-extra-fields”>’;
/**
* Trigger default WordPress action to allow other plugins
* to add custom fields to the registration form.
*
* signup_extra_fields Defined in wp-signup.php which is used
* for Multisite signup process.
*
* register_form Defined in wp-login.php which is only used for
* Single site registration process.
*
* @since 1.0.0
*/
ms_registration_form_extra_fields();
?>
<!– Adding firma field here –>
<?php $firma = isset($_POST[‘firma’]) ? $_POST[‘firma’] : get_user_meta(get_current_user_id(), ‘ms_firma’, true); ?>
<div class=”ms-form-element ms-form-element-firma”>
<span class=”wpmui-wrapper wpmui-input-wrapper “>
<label for=”firma” class=”wpmui-field-label wpmui-label-firma”>Firma </label>
<input class=”wpmui-field-input wpmui-text wpmui-input-firma” type=”text” id=”firma” name=”firma” value=”<?php echo $firma ?>”>
</span>
</div>
<!– Adding firma field here/End –>
<!– Adding adresse field here –>
<?php $adresse = isset($_POST[‘adresse’]) ? $_POST[‘adresse’] : get_user_meta(get_current_user_id(), ‘ms_adresse’, true); ?>
<div class=”ms-form-element ms-form-element-adresse”>
<span class=”wpmui-wrapper wpmui-input-wrapper “>
<label for=”adresse” class=”wpmui-field-label wpmui-label-adresse”>Adresse *</label>
<input class=”wpmui-field-input wpmui-text wpmui-input-adresse” type=”text” id=”adresse” name=”adresse” value=”<?php echo $adresse ?>” required=”” aria-required=”true” minlength=”3″ maxlength=”25″ pattern=”[A-Za-z]”>
</span>
</div>
<!– Adding adresse field here/End –>
<!– Adding plz field here –>
<?php $plz = isset($_POST[‘plz’]) ? $_POST[‘plz’] : get_user_meta(get_current_user_id(), ‘ms_plz’, true); ?>
<div class=”ms-form-element ms-form-element-plz”>
<span class=”wpmui-wrapper wpmui-input-wrapper “>
<label for=”plz” class=”wpmui-field-label wpmui-label-plz “>Postleitzahl *</label>
<input class=”wpmui-field-input wpmui-text wpmui-input-plz number” type=”number” id=”plz” name=”plz” value=”<?php echo $plz ?>” required=”” aria-required=”true” minlength=”4″ maxlength=”8″ pattern=”\d*”/>
</span>
</div>
<!– Adding plz field here/End –>
<!– Adding ort field here –>
<?php $ort = isset($_POST[‘ort’]) ? $_POST[‘ort’] : get_user_meta(get_current_user_id(), ‘ms_ort’, true); ?>
<div class=”ms-form-element ms-form-element-ort”>
<span class=”wpmui-wrapper wpmui-input-wrapper “>
<label for=”ort” class=”wpmui-field-label wpmui-label-ort”>Ort *</label>
<input class=”wpmui-field-input wpmui-text wpmui-input-ort” type=”text” id=”ort” name=”ort” value=”<?php echo $ort ?>” required=”” aria-required=”true” data-pattern-error=”Bitte nur Buchstaben benutzten!” pattern=”[A-z ‘]*”>
</span>
</div>
<!– Adding ort field here/End –>
<!– Adding telephone field here –>
<?php $phone = isset($_POST[‘telephone’]) ? $_POST[‘telephone’] : get_user_meta(get_current_user_id(), ‘ms_telephone’, true); ?>
<div class=”ms-form-element ms-form-element-telephone”>
<span class=”wpmui-wrapper wpmui-input-wrapper “>
<label for=”telephone” class=”wpmui-field-label wpmui-label-telephone “>Telefon </label>
<input class=”wpmui-field-input wpmui-text wpmui-input-telephone number” type=”number” id=”telephone” name=”telephone” value=”<?php echo esc_attr( $phone ); ?>” pattern=”\d*”/>
</span>
</div>
<!– Adding telephone field here/End –>
<!– Adding hidden AGB field here –>
<input class=”wpmui-field-input wpmui-text wpmui-input-agb” type=”hidden” id=”agb” name=”agb” value=”akzeptiert” required=”” aria-required=”true” checked>
<!– Adding agb field here/End –>
<!– Adding haftung field here –>
<input class=”wpmui-field-input wpmui-text wpmui-input-haftung” type=”hidden” id=”haftung” name=”haftung” value=”akzeptiert” required=”” aria-required=”true” checked>
<!– Adding hidden haftung field here/End –>
<!– Adding datens field here –>
<input class=”wpmui-field-input wpmui-text wpmui-input-datens” type=”hidden” id=”datens” name=”datens” value=”akzeptiert” required=”” aria-required=”true” checked>
<!– Adding hidden datens field here/End –>
<?php
echo ‘</div></div>’;
echo get_ms_registration_form_register_button();
/**
* This hook is intended to output hidden fields or JS code
* at the end of the form tag.
*
* @since 1.0.1.0
*/
do_action( ‘ms_shortcode_register_form_end’, ms_registration_form_obj() );
?>
<br><br>
<?php
if ( is_ms_registration_form_login_link_exists() ) {
echo get_ms_registration_form_login_link();
}