I have very limited knowledge of code. I have done research into this already and found that to have prefilled fields for users I need to add php code.
I found this to be added to the “value” field:
<?php return JFactory::getUser()->get(‘name’); ?>
After I input this, nothing happens. My users still have to fill it out. I made sure to save everything and made sure the user was logged in. I tried looking for more info on this but I have no idea why it does not work.
Any feedback is greatly appreciated.
- The topic ‘unable to have prefilled fields’ is closed to new replies.