===================
set_forms_container
===================

.. js:function:: set_forms_container(container, options)

**domain**: client 

**language**: javascript

**class** :doc:`Task </refs/client/task_api>`

Description
===========

The ``set_forms_container`` can be used to initialize the 
:doc:`forms_container <at_forms_container>` attribute that will contain forms of
the application.

If the :doc:`forms_in_tabs <at_forms_in_tabs>` attribute is set the applications
also initializes the tabs that will be used to display forms.

The ``container`` is JQuery object that will be used as a container for
the application forms.

The ``options`` parameter can have the following attribute:

* ``splash_screen`` - an html that will be displayed in the forms_container when
  all tabs are closed


Example
=======

.. code-block:: js

    task.set_forms_container($("#content"), {
        splash_screen: '<h1 class="text-center">Jam.py Demo Application</h1>'
    });

See also
========

:doc:`forms_container <at_forms_container>`

:doc:`forms_in_tabs <at_forms_in_tabs>`

:doc:`create_menu <m_create_menu>`