# Form Subcomponents: Payment Method Selector Field

The Payment Method Selector Field subcomponent can only be used within the [Form component](https://docs.limio.com/components/component-library/modular-checkout-components/component-checkout-form).

The Payment Method Selector Field provides a way for customers to select their payment method. This subcomponent should always be used with the [Payment Manager subcomponent](https://docs.limio.com/components/component-library/modular-checkout-components/modular-checkout-subcomponents-in-form/form-subcomponents-payment-manager-field), which will capture the customer's payment information. These 2 subcomponents should be used instead of the [Payment Fields](https://docs.limio.com/components/component-library/modular-checkout-components/modular-checkout-subcomponents-in-form/form-subcomponents-payment-field) subcomponent when you want to show data in between the selector and the payment input.

If you're using conditional subcomponents, the "Payment method selected" condition will use what the customer selects in this subcomponent.

<figure><img src="https://433934145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAIj7bFbTc7K2038CWL50%2Fuploads%2FMPy7zeEzjfPI6TT26uLx%2Fimage.png?alt=media&#x26;token=1be4aa27-3c8b-4299-9de8-27b4a9f081e5" alt=""><figcaption></figcaption></figure>

*An example of payment methods listed in the Payment Method Selector Field subcomponent.*

### Props

| Prop Name                | Label                                  | Type    | Default Value                  | Description                                                                                                                                            |
| ------------------------ | -------------------------------------- | ------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| methodNotSelectedMessage | Invalid message if option not selected | string  | Please select a payment method | If *selectFirstPaymentType* is set to false, and user submits form without select option, this invalid message will display below the payment options. |
| selectFirstPaymentType   | Preselect First Payment Type           | boolean | false                          | Determines whether the first payment type should be selected by default.                                                                               |
| fieldClassName           | Class Name                             | string  | ""                             | The CSS class name for styling the field component                                                                                                     |
