Jump to content

add fields on feed back form


Jiten rash (away)

Recommended Posts

it only has a tpl file from were its adding

fields

 

 

<!--start med_contactable -->

<script type="text/javascript">

$(function(){ldelim}

$('#med_contactable').contactable({ldelim}

url: '{$module_dir}mail.php?id_lang={$cart->id_lang}',

name: '{l s='Name' mod='med_contactable' js=1}',

email: '{l s='Email' mod='med_contactable' js=1}',

message : '{l s='Your order' mod='med_contactable' js=1}',

subject : '{l s='A Feedback Message From:' mod='med_contactable' js=1} '+location.href,

submit : '{l s='SEND' mod='med_contactable' js=1}',

recievedMsg : '{l s='Thank you for your order' mod='med_contactable' js=1}',

notRecievedMsg : '{l s='Sorry but your order could not be sent now, try again later' mod='med_contactable' js=1}',

disclaimer: '{l s='' mod='med_contactable' js=1}',

{rdelim});

{rdelim});

</script>

<div id="med_contactable"></div>

<!--end med_contactable -->

 

but id fields added here doesnt works....

may be its getting fields from

 

 

include(dirname(__FILE__).'/../../config/config.inc.php');

include(dirname(__FILE__).'/../../init.php');

 

//declare our assets

$name = stripcslashes(Tools::getValue('name'));

$emailAddr = stripcslashes(Tools::getValue('email'));

$comment = stripcslashes(Tools::getValue('message'));

$subject = stripcslashes(Tools::getValue('subject'));

$to = Configuration::get('PS_SHOP_EMAIL');

$id_lang = Tools::getValue('id_lang');

$contactMessage =

Edited by Jiten rash (see edit history)
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...