Welcome, Guest
Username: Password: Remember me

TOPIC: Prmote for minimum days

Prmote for minimum days 1 year 8 months ago #7202

  • Mark
  • Mark's Avatar
  • Offline
  • Senior Boarder
  • Posts: 44
  • Karma: 0
Hello,

i want that prmotes are only allow with a minimum of 10 days. I changed the file "jomClassifieds.js" into but nothing happend:

function checkJomclFieldinput(val,form){
jomcl_paymentcurrency = '';

var Max = document.getElementById("premiumtop").maxLength;
var Min = 10;
var Invalid = "Maximum day(s) :";
var InvalidMin = "Minimum day(s) :";
// Invalid += ( Max > 1 ) ? " 1 - " : " ";
if(val > parseInt(Max)){
val = Max;
alert(Invalid + ' ' + Max);
}

if(val < parseInt(Min)){
val = Min;
alert(InvalidMin + ' ' + Min);
}
The administrator has disabled public write access.

Prmote for minimum days 1 year 8 months ago #7225

  • Mark
  • Mark's Avatar
  • Offline
  • Senior Boarder
  • Posts: 44
  • Karma: 0
Is works!

I don't know why it not worked before.
The administrator has disabled public write access.

Prmote for minimum days 1 year 8 months ago #7228

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2971
  • Thank you received: 344
  • Karma: 46
Dear Customer,

It didn't worked before because of the cache, once the cache cleared it started working.

Thanks.
The administrator has disabled public write access.
Time to create page: 0.135 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies