Skip Navigation

[Resolved] line break in submit button

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by aprilB 4 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1796265

Tell us what you are trying to do?
I have a relationship form with a submit button and I want to add a line break in the middle of the label.

here is the shortcode:
[cred-form-submit label='Add To<BR>[wpv-post-title]']

i would like a line break where the <BR> is listed. I researched some and it looks like line breaks are not supported in input types of submit. They recommend using button type which I don't think will work with your forms correct?

Any other way to make this work?

Thanks u!
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1797831

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi April,

Thank you for getting in touch.

If you are using the expert mode on our form then you can just simply replace your button shortcode with this one below.

<button type='submit'>FOrm Button </button>

Please let me know if this helps.
Thanks,
Shane

#1797889

The button tag worked great!

thank you!