Important Note: Also please note that all CSS code I present here come without warranty - you need to try out for yourself and test everything thoroughly - especially for multiple screen sizes, devices or browsers! I would also recommend that you ensure you have a good understanding of HTML and CSS.
.sapCpSubmitCompleted .sapCpWidget:not(.sapCpButtonWidget) {
display: none;
}
.sapCpSubmitCompleted .sapCpButton {
display: none;
}
/*--- Remove the button margin ---*/
.sapCpSubmitCompleted .sapCpButtonWidget {
margin-top: 0;
}
/*--- Optional: Styling of the success message text ---*/
.sapCpButtonWidget .sapCpButtonWidgetExtraText {
text-align: center;
font-size: 20px;
font-weight: bold;
}
/*--- Change the message colors ---*/
.sapCpButtonWidget .sapCpSuccessMessageLabel {color: #614d0b;}
.sapCpButtonWidget .sapCpErrorMessageText {color: deeppink;}
/******************************************************************************************
Hide Form after Submit
******************************************************************************************/
/*--- Hide all Form fields after submit - except the button widget ---*/
.sapCpSubmitCompleted .sapCpWidget:not(.sapCpButtonWidget) {
display: none;
}
/*--- Hide only the button part of the button widget leaving the message visible ---*/
.sapCpSubmitCompleted .sapCpButton {
display: none;
}
/*--- Remove the button margin ---*/
.sapCpSubmitCompleted .sapCpButtonWidget {
margin-top: 0;
}
/*--- Optional: Styling of the success message text ---*/
.sapCpButtonWidget .sapCpButtonWidgetExtraText {
text-align: center;
font-size: 20px;
font-weight: bold;
}
/*--- Change the message colors ---*/
.sapCpButtonWidget .sapCpSuccessMessageLabel {color: #614d0b;}
.sapCpButtonWidget .sapCpErrorMessageText {color: deeppink;}
.sapCpSubmitCompleted .sapCpWidget:not(.sapCpButtonWidget) input {
pointer-events: none;
}
.sapCpSubmitCompleted .sapCpButton {
display: none;
}
/*--- Optional: Styling of the success message text ---*/
.sapCpButtonWidget .sapCpButtonWidgetExtraText {
text-align: center;
font-size: 20px;
font-weight: bold;
}
/*--- Change the message colors ---*/
.sapCpButtonWidget .sapCpSuccessMessageLabel {color: #614d0b;}
.sapCpButtonWidget .sapCpErrorMessageText {color: deeppink;}
/******************************************************************************************
Hide Form Button after Submit
******************************************************************************************/
/*--- Hide all Form fields after submit - except the button widget ---*/
.sapCpSubmitCompleted .sapCpWidget:not(.sapCpButtonWidget) input {
pointer-events: none;
}
/*--- Hide only the button part of the button widget leaving the message visible ---*/
.sapCpSubmitCompleted .sapCpButton {
display: none;
}
/*--- Optional: Styling of the success message text ---*/
.sapCpButtonWidget .sapCpButtonWidgetExtraText {
text-align: center;
font-size: 20px;
font-weight: bold;
}
/*--- Change the message colors ---*/
.sapCpButtonWidget .sapCpSuccessMessageLabel {color: #614d0b;}
.sapCpButtonWidget .sapCpErrorMessageText {color: deeppink;}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |