prefilled form

alfredopacino 27 Sep, 2014
i've several joomla articles contains companies infos, in those article i have a button like that:
<form action="MYCHRONOFORM.php" method="post">
<input type="hidded" name="name" value="#NAME_FIELD_VALUE">
<input type="hidded" name="email" value="#EMAIL_FIELD_VALUE">
<input type="submit" value="contact this company">
</form>


this form, as i said in title, should have almost all the fields prefilled, i mean:
________________
name= "name of the logged user"
email="email of the logged user"
company="retreived by the POST data"
email recipient="retrived by the POST data"
message="ok..tha'ts one is a simple textarea"
_________________

is that possible?
alfredopacino 27 Sep, 2014
by "this form" i mean the chronoform form i don't have yet, not the simple form i have in the articles i post the code..
GreyHead 27 Sep, 2014
Hi alfredopacino,

Yes, just use the same names in your form e.g. name, email, etc.

Bob

PS It needs to be type='hidden' (not 'hidded').
This topic is locked and no more replies can be posted.