Wednesday, 15 April 2015

joomla - Autofill form from a URL LINK -



joomla - Autofill form from a URL LINK -

i've website create link site , autofill webform unique id on own website. http://www.landelijkregisterkinderopvang.nl/pp/zoeken/registratienummerzoekscherm.jsf

so i've tried http://www.landelijkregisterkinderopvang.nl/pp/zoeken/registratienummerzoekscherm.jsf/submit?id=xxxxx

is possible send url info , straight show info site,

i've tried several combinations won't work.....who can help?

thanks

in joomla need add together php code when building form value url , place in input box. entire input box this:

<input type="text" name="field_name" value="<?php echo jrequest::getvar('id'); ?>" />

just in general php, looking value $_get variable:

<input type="text" name="field_name" value="<?php echo $_get['id']; ?>" />

extra piece note jrequest deprecated in joomla 3, switch using jiput: http://docs.joomla.org/retrieving_request_data_using_jinput

joomla webforms autofill

No comments:

Post a Comment