Support Forum

 
You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Success Message

Information/How to
UserPost

1:29 am
August 4, 2010


Lalit

1

Hello,

I want to show success messages below the form instead of top of the form. Can anyone guide me how can I do this.

Thanks

Lalit

10:14 am
August 5, 2010


Steph

2

You'll have to edit the code to do this, and it will change it for all your forms. Open formidable/classes/views/frm-entries/frm-entry.php and change lines 30-32 from this:

echo '<div class="frm_message" id="message">'.(($created and is_numeric($created)) ? apply_filters('the_content', $saved_message) : $frm_settings->failed_msg).'</div>';
                if (!isset($form_options['show_form']) or $form_options['show_form'])
                    require('new.php');

to this:

if (!isset($form_options['show_form']) or $form_options['show_form'])
           require('new.php');
echo '<div class="frm_message" id="message">'.(($created and is_numeric($created)) ? apply_filters('the_content', $saved_message) : $frm_settings->failed_msg).'</div>';

              

Information/How to