Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

change title fileds and not required
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: change title fileds and not required

change title fileds and not required 7 years, 1 month ago #31071

hi
in this form i want change title fileds ,add 2 fileds and some fields not rquiered to select by user

thanks

Re: change title fileds and not required 7 years, 1 month ago #31096

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear amir.askari2005,

Which template are you using?
Please send me the screenshot to take a closer look.

Thanks & regards!

Re: change title fileds and not required 7 years, 1 month ago #31099

my template is sienna from rocket theme company
i need to change and add fields!
are you need i use which one of template??!!

Re: change title fileds and not required 7 years, 1 month ago #31142

  • thuygtn
Dear amir.askari2005,

To translate the form, you can try go to the file:
language\en-GB\en-GB.mod_sj_contact_ajax.ini
If it's not exist, please try go to:
modules\mod_sj_contact_ajax\en-GB\en-GB.mod_sj_contact_ajax.ini

Thanks

Re: change title fileds and not required 7 years, 1 month ago #31143

goo.gl/cQF3tM
please check this url

email is requiered filed,i dont want this filed is required

Re: change title fileds and not required 7 years, 1 month ago #31206

  • thuygtn
Dear amir.askari2005,

You can modify code in the file:

modules\mod_sj_contact_ajax\tmpl\default_js.php

and remove the code:

case "email":
var re = /^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/;
if (!re.test(value)) {
result.valid = false;
result.mes = "Please enter a valid email!";
}
saveValidationState(input, result.valid);
showValidationMessage(input, result);
break;

and:
var emailValid = $email.data("validated");

remove all code like that: && emailValid

var timer1 = 0;
$email.on("keyup", function (e) {
if (timer1) {
clearTimeout(timer1);
timer1 = 0;
}
timer1 = setTimeout(function () {
validateInput($email, "email");
}, 1000);
});

and remove all code like that: || $email_value == ''

and the code:
if ($email_value == '') {
validateInput($email, "email");
}

Thanks
  • Page:
  • 1
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes