# MD for: https://www.mercadopago.com.uy/developers/es/docs/checkout-bricks/payment-brick/visual-customizations/hide-element.md \# Hide element See below how to hide Payment Brick elements. > CLIENT\_SIDE > > h2 > > Hide title | - | Brick | | --- | --- | | Customization moment | When rendering the Brick | | Property | customization.hideFormTitle | | Type | Boolean | | Comments | When \*\*true\*\*, hides the title line. | * [javascript ](#editor%5F1) * [react-jsx ](#editor%5F2) javascript react-jsx ``` const settings = { ..., customization: { visual: { hideFormTitle: true } } } ``` Copiar ``` const customization = { visual: { hideFormTitle: true } }; ``` Copiar \> CLIENT\_SIDE > > h2 > > Hide payment button | - | Brick | | --- | --- | | Customization moment | When rendering the Brick | | Property | customization.visual.hidePaymentButton | | Type | Boolean | | Comments | When true, the form submit button is not displayed and it becomes necessary to use the getFormData function to get the form data (see example below). | * [javascript ](#editor%5F3) * [react-jsx ](#editor%5F4) javascript react-jsx ``` const settings = { ..., callbacks: { onReady: () => { // callback called when brick is ready }, onError: (error) => { // callback called for all Brick error cases }, }, customization: { visual: { hidePaymentButton: true } } } ``` Copiar ``` const customization = { visual: { hidePaymentButton: true } }; ``` Copiar Since the default payment button has been hidden, you will need to add some replacement. The following code blocks exemplify how to implement your custom payment button. \`\`\`html Custom Payment Button\`\`\` \`\`\`Javascript function createPayment(){ window.paymentBrickController.getFormData() .then(({ formData }) => { console.log('formData received, creating payment...'); fetch("/process\_payment", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify(formData), }) }) .catch((error) => { // error handling when calling getFormData() }); }; \`\`\`