How to set a default starting value for an element?


To do that , simply set that element to the value you want in the WYSIWYG form editor, for example if you want to set a default value for a textfield simply type that value in the text field, for radio group simply select the option you want.

How to Embed a form into an article

Note that this applies only to version 0.6 and beyond , JForms 0.5 doesn't support embedding



  • Identify the ID of your form


  • Open the article you want the form to appear in
  • Type {jform=X} where X is the ID of the form you would like to embed
  • Save the article


How to customize E-mails with data from the form

Note that this applies only to version 0.6 and beyond


  1. Make sure Joomla! E-mail settings are working “Try the (Forgot password) function to see if it works”
  2. Enable Mail plugin on your form
  3. We'll assume we have a form with 5 elements , Name, E-mail, Country, Telephone Number and Message
  4. Edit “Administrator Notification Message Format” (from your mail plugin settings) to use placeholders, Placeholders are formatted like {FIELD=FIELD LABEL IN UPPER CASE} with everything enclosed in curly brackets ” {} ”


Example
Dear Administrator , {FIELD=NAME} has just created an entry , S/he is from {FIELD=COUNTRY} and his/her telephone number is {FIELD=TELEPHONE NUMBER}, His/Her message is {FIELD=MESSAGE}

 
end-user_faqs.txt · Last modified: 2009/09/04 15:06 by dr_drsh
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki