Hi all,
Q1. I want to populate some of my form fields with default values. I can't see where you do this.
It's just a simple text entry set with a mask for integer but I want it to default to 0 (zero).
Q2. Also. How can I populate a form field with a value from a database? _ The youtube examples show a table being populated with data but how do I populate one of my text fields with database data? The scenario is that a user logs in to Joomla. I then want to get the username and populate that in a field.
At present I have used some php to extract the username from Joomla as per the 'Name' in the screen shot but I want that data in 'What is your name'
Q1. I want to populate some of my form fields with default values. I can't see where you do this.
It's just a simple text entry set with a mask for integer but I want it to default to 0 (zero).
Q2. Also. How can I populate a form field with a value from a database? _ The youtube examples show a table being populated with data but how do I populate one of my text fields with database data? The scenario is that a user logs in to Joomla. I then want to get the username and populate that in a field.
At present I have used some php to extract the username from Joomla as per the 'Name' in the screen shot but I want that data in 'What is your name'