CMS Development

razazaidi
Membre

Is is possible to wrap text from the answers of a form's multipe choice question when embedding ??

We're embedding a form as a quiz on our site...Each question is a multiple choice question and some have relatively long text..the text is reaching the end of the line but not wrapping:

 

https://www.screencast.com/t/sl8d5G8e

 

since this is an embedded form, we have no control...is there a way to make that text wrap?

 

thanks in advance!

0 Votes
3 Réponses
anders_grove
Contributeur | Partenaire solutions Elite
Contributeur | Partenaire solutions Elite

Is is possible to wrap text from the answers of a form's multipe choice question when embedding ??

You can add a CSS class to your embeded form by modyfing it's properties:

 

 

<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="https://js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="https://js.hsforms.net/forms/v2.js"></script>
<script>
  hbspt.forms.create({
	portalId: 'xxxxxx',
	formId: 'xxxxxxxxx-xxxx-xxxx-xxx-xxxxxxxxx',
	css: '',
	cssClass: 'your-class-name'
  });
</script>

 

razazaidi
Membre

Is is possible to wrap text from the answers of a form's multipe choice question when embedding ??

This kinda worked...some browsers wrap the text but for some it stays the same...has anybody experimented with doing more complex IF statements by browser??

razazaidi
Membre

Is is possible to wrap text from the answers of a form's multipe choice question when embedding ??

Thanks...I'll give it a try!

0 Votes