×

Notice

The forum is in read only mode.

Error Start Publishing for job information front

15 years 3 weeks ago #703 by Rodolfo Gibrat Junqueira
Hi,

My joomla version is 1.5.14 and JS Job is 1.0.5.4. I´m test with JS Job 1.0.5.3 too. My problem is in include Job Information via frontend and present error with save job is \"Please enter a valid start publishing date\", but I´m put date correct, this problem is tools don´t identify information in label.

Please a need help.
Thanks.
15 years 3 weeks ago #706 by Ahmad
Rules about dates
Start Publishing date not accept old date (only accept today or future date)
Stop Publishing not less then Start Publishing date.

Please write your valuable review JS Jobs and JS Support Ticket at JED.
15 years 2 weeks ago #708 by Rodolfo Gibrat Junqueira
Hi thank you for your return, but the dates rules is correct, I´m test with current and future day for start and big date over start publishing for stop publishing. Is possible incompatible format date? Because my system joomla is translation for portugues Brazilian and my format date is year-month-day and JS Job present this format. For american date format is year-day-month, is possible?

Thank you.
15 years 2 weeks ago #709 by Ahmad
Hi, Most probably problem with the date format. JS Jobs use javascript to check date validation.

Please write your valuable review JS Jobs and JS Support Ticket at JED.
15 years 2 weeks ago #716 by Rodolfo Gibrat Junqueira
Hi I identify the error and correct, isn´t format date, is correct in the script formjob.php. The problem is current date is big over start date, because this code:

\"Error in bold\" \"+1900\" I remove this plus and worked.

function CheckDate() {
//alert(\'date\');
f = document.adminForm;
var returnvalue = true;
var today=new Date()
if ((today.getMonth()+1) < 10)
var tomonth = \"0\"+(today.getMonth()+1);
else
var tomonth = (today.getMonth()+1);

if ((today.getDate()) < 10)
var day = \"0\"+(today.getDate());
else
var day = (today.getDate());

var todate = (today.getYear()+1900)+\"-\"+tomonth+\"-\"+day;

Correct:

function CheckDate() {
//alert(\'date\');
f = document.adminForm;
var returnvalue = true;
var today=new Date()
if ((today.getMonth()+1) < 10)
var tomonth = \"0\"+(today.getMonth()+1);
else
var tomonth = (today.getMonth()+1);

if ((today.getDate()) < 10)
var day = \"0\"+(today.getDate());
else
var day = (today.getDate());

var todate = (today.getYear())+\"-\"+tomonth+\"-\"+day;

Att
Gibrat
15 years 2 weeks ago #720 by Ahmad
Please test this page in both browser (IE and Firefox).

Please write your valuable review JS Jobs and JS Support Ticket at JED.
Time to create page: 0.062 seconds

Please publish modules in offcanvas position.