Cette extension n’a pas été testée avec les3 dernières versions majeures de WordPress. Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

Contact Form IF

Description

  • Contact Form 7 must be installed to run this plugin.
  • In the form created with Contact Form 7, you can add a condition to the required check of the item.
  • You can specify various conditions such as when an item has been entered or when it is equal to the specified value.

Docs

Available conditions

  • is null
  • not null
  • equal
  • not equal
  • greater than(>)
  • greater equal(>=)
  • less than(<)
  • less equal(<=)
  • in
  • not in

Example

This setting is required only when a certain item is 2 or more.
See the developer’s site for other use cases.
Docs

Form
<label>Text1</label>[text eq-1]
<label>Text2</label>[text eq-2]
<br>
[submit "Submit"]

Additional Settings
requireif-eq-2:eq-1,greater_equal,2,This item is required when "text 1" is 2 or more.

Captures d’écran

  • screenshot-1.png

Installation

  1. From the WP admin panel, click “Plugins” -> “Add new”.
  2. In the browser input box, type “Contact Form IF”.
  3. Select the “Contact Form IF” plugin and click “Install”.
  4. Activate the plugin.

OR…

  1. Download the plugin from this page.
  2. Save the .zip file to a location on your computer.
  3. Open the WP admin panel, and click “Plugins” -> “Add new”.
  4. Click “upload”.. then browse to the .zip file downloaded from this page.
  5. Click “Install”.. and then “Activate plugin”.

Avis

Il n’y a aucun avis sur cette extension.

Contributeurs & développeurs

« Contact Form IF » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Contact Form IF » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.