Value parameter - Text elemet

Value parameter - Text elemet

by Tzahi Zohar -
Number of replies: 0

Hi,

 

I would like to add the value parameter to a text elemt.

This is not working:

$mform->addElement('button', 'savetags', get_string('addtags', 'videopoint'), array('id'=> 'idBtn','value'=>'12312','onClick'=>"addTags()"));

 

Can someone point out?

 

thx

Average of ratings: -