File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ Example:
462462<input type =" text" name =" links[]" >
463463```
464464
465- You can validate each input using wildcard field name inside validation rules:
465+ You can validate each input using wildcard field name inside ** validation rules* :
466466
467467``` php
468468$validationRules = [
@@ -476,38 +476,14 @@ $validationRules = [
476476
477477Same as file attachments you can use tokens to print all values at once. They will be comma separated.
478478
479- Template usage:
479+ ** Template usage:**
480480
481481``` html
482482...
483483<p >Choice: {choice}</p >
484484<p >Links: {links}</p >
485485```
486486
487- ### 5. Template
488- You can customize the email templates. You can place the form fields anywhere. To do this, put the name of the form
489- field in curly braces. For example, in the file 'template-html.php':
490-
491- ``` html
492- <html >
493- <body >
494- <p ><b >Name:</b > {name}</p >
495- <p ><b >Email:</b > {email}</p >
496- <p ><b >Subject:</b > {subject}</p >
497- <p ><b >Message:</b ><br >
498- {message}</p >
499- <hr >
500- <p >User IP address: <?php echo @$_SERVER['REMOTE_ADDR']; ?></p >
501- <p >Browser: <?php echo @$_SERVER['HTTP_USER_AGENT']; ?></p >
502-
503- {cv_file}
504-
505- {image_file}
506-
507- </body >
508- </html >
509- ```
510-
511487# Examples
512488
513489You can check working examples inside ` examples ` folder of the package, start your investigate from ` index.php ` file (contains forms HTML).
You can’t perform that action at this time.
0 commit comments