Credit Card component Logic

Thank you for the recent update for the “Initial” values, it is very useful.
My app has the credit card component within a UI Form. How do I disable or hide the CC component’s Submit button to allow the UI Form Submit process to take precedence?

Hi, @Richard_Munger

To hide or disable the Submit button of the Credit Card component, you can use an EXTENSION on the THEME tab. Specify the .submit-button class and add the necessary styles.

To hide the button, it will be enough to set:


.submit-button {
  display: none;
}

Regards,
Serhiy

Hi Serhiy,
Thanks for the tip. This worked great.
Rick