Skip to content

Commit

Permalink
added anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
themefuse committed Mar 30, 2015
1 parent a68e8c5 commit 8cf2d5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helpers/php.rst
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,9 @@ A convenient way to create forms. You can create a form class instance and give
// this will output:
// <form ... ><input type="text" name="demo" maxlength="10" value=""></form>
.. rubric:: Customize errors display
.. _fw-form-customize-errors:

.. rubric:: Customize errors

By default the errors are displayed right before the ``<form>`` tag.
You can display the errors in your own way and cancel the default display.
Expand Down Expand Up @@ -629,6 +631,8 @@ Before the errors are displayed, an action is fired so you can use it:
}
add_action('fw_form_display_errors_frontend', '_action_theme_fw_form_errors_display');
.. _fw-form-ajax-submit:

.. rubric:: Ajax submit

You can use `this script <https://github.com/ThemeFuse/Unyson/blob/master/framework/static/js/fw-form-helpers.js>`__ to make ``FW_Form`` ajax submittable.
Expand Down

0 comments on commit 8cf2d5d

Please sign in to comment.