Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

html_select_date : customize input id submitted, Yr and Mo

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
MyronCope
Smarty n00b


Joined: 05 Jun 2009
Posts: 1

PostPosted: Fri Jun 05, 2009 2:07 pm    Post subject: html_select_date : customize input id submitted, Yr and Mo Reply with quote

I'm new to smarty and I've been tasked with modifying a pre-existing page that has the html_select_date where the user can choose Year and Month. The code is here:

<CODE>
{html_select_date prefix='cc_exp_' time=$time end_year='+6' display_days=false year_extra='class="field"' month_extra='class="field"'}
</CODE>

The <CODE>'cc_exp_' time</CODE> will create an input value cc_exp_Year and cc_exp_Month when the user selects Year and Month value.

However I am supposed to submit to a payment processer that requires fields named the following:

ccmo
ccyr

I know part of it is simply changing the "cc_exp_" to instead be "cc" but I still need to figure out the rest of it.
The question I have is how do I change the existing code to be ccmo and ccyr.

I'm doing a html post so maybe there is some kind of hack I can do to get around it or if any of you have any better suggestions on how to solve this it would be great. thanks for your help

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP