WEBFORMS

TMSWEB's picture
TMSWEB
Tue, 10/06/2015 - 18:45
#1
WEBFORMS

Hello!

We created new webforms and the SUBMIT BUTTON are fixed above fields. 

How can we fixed it?

phuonght's picture
phuonght
Wed, 10/07/2015 - 00:21

Hi,

In file md_avendor/templates/webform/webform-form.tpl.php, you can see below code:

<div class="form-group">
<?php print drupal_render($form['submitted']['name']); ?>
<?php print drupal_render($form['submitted']['email']); ?>
<?php print drupal_render($form['submitted']['subject']); ?>
<?php print drupal_render($form['submitted']['message']); ?>
<div class="col-sm-12">
<?php print drupal_render($form['actions']); ?>
</div>
</div>

please replace with:

<div class="form-group">
<?php print drupal_render($form['submitted']); ?>
<div class="col-sm-12">
<?php print drupal_render($form['actions']); ?>
</div>
</div>

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.