Catégories

Help WordPress

!

!!

!-

#     

##    Force le retour à la ligne

$       Force le masque de saisie

^         dd

^ and $ define the start and the end of the input

« ab*« : …matches a string that has an « a » followed by zero or more « b’s » (« a », « ab », « abbb », etc.);

« ab+« : …same, but there’s at least one b (« ab », « abbb », etc.);

« [a-d]« : …a string that has lowercase letters « a » through « d »

 

│ ALT179

 

Formatage de date

Date du Formulaire │mm/dd/yyyy│^ [0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]$

^ and $ define the start and the end of the input

 

Exemple de Tableau

^ and $ define the start and the end of the input
« ab*« : …matches a string that has an « a » followed by zero or more « b’s » (« a », « ab », « abbb », etc.);
« ab+« : …same, but there’s at least one b (« ab », « abbb », etc.);
« [a-d]« : …a string that has lowercase letters « a » through « d »

 

Intégrer un Formulaire

  • via HTML:
    • <!–cforms name= »Nom du Formulaire »–>
    • <!–cformsX–>       X      N° du Formulaire: Fonctionne pour les anciennes versions de WordPress
  • via PHP Function call:
    • insert_cform();   for the default/first form
    • insert_cform(‘X);       X      N° du Formulaire
  • utiliser le Bouton TinyMCE Support

 

 7.Using variables in email subject and messages

exemple de code HTML

<p style= »background:#fafafa; text-align:center; font:10px arial »>a form has been submitted on {Date}, via: {Page} [IP {IP}]</p>

le résultat est:

 a form has been submitted on June 13, 2007 @ 9:38 pm, via: / [IP 184.153.91.231]

 

exemple de code HTML

<p>{Your Name} just submitted {Form Name}. You can get in touch with him/her via <a href= »mailto:{Email} »>{Email}</a> and might want to check out his/her web page at <a href= »{Website} »>{Website}</a></p>

<p>The message is:<br/ >
{Message}</p>

le résultat est:

John Doe just submitted MY NEW FORM. You can get in touch with him/her via john.doe@doe.com and might want to check out his/her web page at http://website.com

The message is:
Hey there! Just wanted to get in touch. Give me a ring at 555-…

exemple de code HTML

<div style= »text-align:center; color:#aaa; border-bottom:1px solid #aaa »> <strong>auto confirmation message, {Date}</strong> </div><br />

<p><strong>Dear {Your Name},</strong></p>
<p>Thank you for your note!</p>
<p>We will get back to you as soon as possible.</p>

le résultat est:

 

auto confirmation message, June 13, 2007 @ 5:03 pm

Dear John Doe,

Thank you for your note!

We will get back to you as soon as possible.

auto confirmation message, {Date}

 

Dear {Your Name},

Thank you for your note!

We will get back to you as soon as possible.