Welcome, Guest
Username: Password: Remember me

TOPIC: Data Type Language File Entry

Data Type Language File Entry 17 Jul 2013 06:59 #10486

  • BTB300
  • BTB300's Avatar
  • Online
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
Just been thinking about a couple of my recent component tweaks and realized that sometimes in forms you just want to put a note at the top or bottom such as "welcome to our site" or perhaps a more detailed description of what the person needs to do or simply just some terms and conditions in the footer of the form

i had a number of forms that needed some personalization or additional notes about what or why this information is required
- to make the text easy to manage and for others to modify i created a language file entry for each note

Of course that's when I thought it would be great if we could have a brick type that creates a custom language file entry!

My thoughts would be that it is simply a text field that is configurable in a form brick and any text written inside is duplicated in the language file

The language file entry format could be similar to componentname_formname_custom_note1 or one could define a custom value for note1 using the brick label


************LANGUAGE FILE BRICK*******************
Welcome to my form!
In just as few minutes you will be on your way
But first we need to get some details
**********************************************************
****************FORM BRICk****************************
Name:
Address:
**********************************************************
************LANGUAGE FILE BRICK*******************
By registering you agree to...
**********************************************************

Just a thought :)
Last Edit: 17 Jul 2013 07:01 by BTB300.
The administrator has disabled public write access.
Time to create page: 0.073 seconds

Get Started