Hello,
I'm nikhanz from malaysia,
I would like to know, it possible to me created new registration using Chronoforms and can put Improved Profile for Discount code?
I'm using "Joomla function" under Action tab, and do drag and drop using this tutorial: http://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/4354-how-can-i-create-a-joomla-registration.html
Previously, I have create this form using basic html form, but I have issue with "Invalid token", I have replace with this code:
I have choose to using Chronoforms, but this Chronoforms not support Improved Profile.
I already do exploring, but then I'm stuck.
Note: screen captured included.
I'm appreciate if someone here or out there could help me on this.
Thank you
Nikhanz
I'm nikhanz from malaysia,
I would like to know, it possible to me created new registration using Chronoforms and can put Improved Profile for Discount code?
I'm using "Joomla function" under Action tab, and do drag and drop using this tutorial: http://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/4354-how-can-i-create-a-joomla-registration.html
Previously, I have create this form using basic html form, but I have issue with "Invalid token", I have replace with this code:
<?php echo JHtml::_('form.token');?>
but still not luck.
I have choose to using Chronoforms, but this Chronoforms not support Improved Profile.
<HTML>
<HEAD>
<TITLE>Test Registration Page</TITLE>
</HEAD>
<BODY>
<section class="registration">
<form id="member-registration" action="http://www.domain.com/index.php/component/users/?task=registration.register" method="post" class="form-validate">
<fieldset>
<legend>User Registration</legend>
<dl>
<dt>
<span class="spacer"><span class="before"></span><span class="text"><label id="jform_spacer-lbl" class=""><strong class="red">*</strong> Required field</label></span><span class="after"></span></span> </dt>
<dd> </dd>
<dt>
<label id="jform_name-lbl" for="jform_name" class="hasTip required" title="Name::Enter your full name">Name:<span class="star"> *</span></label> </dt>
<dd><input type="text" name="jform[name]" id="jform_name" value="" class="required" size="30"/></dd>
<dt>
<label id="jform_username-lbl" for="jform_username" class="hasTip required" title="Username::Enter your desired user name">Username:<span class="star"> *</span></label> </dt>
<dd><input type="text" name="jform[username]" id="jform_username" value="" class="validate-username required" size="30"/></dd>
<dt>
<label id="jform_email1-lbl" for="jform_email1" class="hasTip required" title="Email Address::Enter your email address">Email Address:<span class="star"> *</span></label> </dt>
<dd><input type="text" name="jform[email1]" class="validate-email required" id="jform_email1" value="" size="30"/></dd>
<dt>
<label id="jform_password1-lbl" for="jform_password1" class="hasTip required" title="Password::Enter your desired password - Enter a minimum of 4 characters">Password:<span class="star"> *</span></label> </dt>
<dd><input type="password" name="jform[password1]" id="jform_password1" value="" autocomplete="off" class="validate-password required" size="30"/></dd>
<dt>
<label id="jform_password2-lbl" for="jform_password2" class="hasTip required" title="Confirm Password::Confirm your password">Confirm Password:<span class="star"> *</span></label> </dt>
<dd><input type="password" name="jform[password2]" id="jform_password2" value="" autocomplete="off" class="validate-password required" size="30"/></dd>
<dt>
<label id="jform_partner-lbl" for="jform_partner" class="hasTip" title="Discount Code::Please enter your Discount Code">Discount Code</label>
</dt>
<dd><input type="text" name="jform[partner]" id="jform_partner" value="CODE" size="30" readonly/></dd>
</dl>
</fieldset>
<fieldset>
<legend>Improved Profile</legend>
<dl>
<dt>
<label id="jform_improved_aff_id-lbl" for="jform_improved_aff_id" class="hasTip" title="Discount Code::Enter discount code (if any).">Discount Code:</label>
</dt>
<dd><input type="text" name="jform[improved][partner]" id="jform_improved_aff_id" value="CODE" readonly/></dd>
</dl>
</fieldset>
<div>
<button type="submit" class="validate">Register</button>
or <a href="/" title="Cancel">Cancel</a>
<input type="hidden" name="option" value="com_users" />
<input type="hidden" name="task" value="registration.register" />
<input type="hidden" name="1424c203c3e3a58c5131b11221a9f4ed" value="1" /> </div>
</form>
</section>
</section>
</BODY>
</HTML>
I already do exploring, but then I'm stuck.
Note: screen captured included.
I'm appreciate if someone here or out there could help me on this.
Thank you
Nikhanz
Hi Nikhanz,
I'm sorry, I don't know what an 'Improved Profile' is so I don't understand your question :-(
Also, the code you posted appears to be from JForms, not from ChronoForms?
Bob
I'm sorry, I don't know what an 'Improved Profile' is so I don't understand your question :-(
Also, the code you posted appears to be from JForms, not from ChronoForms?
Bob
Hi Nikhanz,
I'm sorry, I don't know what an 'Improved Profile' is so I don't understand your question :-(
Also, the code you posted appears to be from JForms, not from ChronoForms?
Bob
"Improved Profile" is module for embeded group coupon automatically without need to manually key-in on the registration forms.
Yes, the code i posted earlier is from JForms, but I want to use the functions from JForms into ChronoForms. It is possible? Or do you have any suggestion on how to make custom page with PHP language taking originally from Joomla default forms?
I apologize, I am asking here because it's relate into ChronoForms.
I appreciate your response,
Nikhanz
Hi Nikhanz,
What should happen when the user enters the coupon code ? I mean how this will affect the user's account on your Joomla site ?
Regards,
Max
What should happen when the user enters the coupon code ? I mean how this will affect the user's account on your Joomla site ?
Regards,
Max
Hi Nikhanz,
What should happen when the user enters the coupon code ? I mean how this will affect the user's account on your Joomla site ?
Regards,
Max
Hi Max,
When user enter the coupon code, they will get products discount given by virtuemart. This form should work for make coupon easier key-in on the Joomla registration field for standard user (non advance website users). User only fill the name, e-mail, password on the Joomla default form (with improved profile). This improved profile is based on Improved Ajax Login & Register.
On the coding, have this code for for automatic key-in:
<fieldset>
<legend>Improved Profile</legend>
<dl>
<dt>
<label id="jform_improved_aff_id-lbl" for="jform_improved_aff_id" class="hasTip" title="Discount Code::Enter discount code (if any).">Discount Code:</label>
</dt>
<dd><input type="text" name="jform[improved][partner]" id="jform_improved_aff_id" value="CODE" readonly/></dd>
</dl>
</fieldset>
Nikhanz
Hi Nikhanz,
We need to know what happens "internally" when the coupon code is entered, for example, this may update some user's flag some where, which makes the user eligible for the discount, this can be done using Chronoforms, but I have no idea how VM works.
Regards,
Max
We need to know what happens "internally" when the coupon code is entered, for example, this may update some user's flag some where, which makes the user eligible for the discount, this can be done using Chronoforms, but I have no idea how VM works.
Regards,
Max
This topic is locked and no more replies can be posted.