Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37675

Re: Read Only text fields on sign up form?

$
0
0
by Lavanya Peddapeta.  

U can do this by using 'static' keyword

SYNTAX : $mform->addElement('static', 'fieldname', get_string('fieldname'), $tablename->firstname);

Example : $mform->addElement('static', 'firstname', get_string('firstname'), $USER->firstname); 


Viewing all articles
Browse latest Browse all 37675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>