I have two field date in a form and I need the second date to be the first date select plus one day

Končano Objavljeno pred 5 letoma/leti Plačilo ob prevzemu
Končano

My form is made with a Joomla component, RSform Pro.

The form is a Hotel Booking. I need the user select first date (checkin) and automatically second field date take select first day plus one day.

For example: [login to view URL]

The previous example have this code:

function vbSetGlobalMinCheckoutDatemod124() {

var nowcheckin = jQuery('#checkindatemod124').datepicker('getDate');

var nowcheckindate = new Date([login to view URL]());

[login to view URL]([login to view URL]() + 1);

jQuery('#checkoutdatemod124').datepicker( 'option', 'minDate', nowcheckindate );

jQuery('#checkoutdatemod124').datepicker( 'setDate', nowcheckindate );

}

This code is just for you to have an idea, you can do it in another way.

This is my form: [login to view URL]

The Joomla form component (RSform Pro) have a field for add custom Javascript.

To access the form:

1. Login Joomla

2. Components > RS Forms > Manage Form

3. Open Form #6 (ID 79, Name: Freelancer)

4. Tab "Form Property" > CSS and Javascript ([login to view URL])

HTML JavaScript Joomla PHP

ID projekta: #18811932

Več o projektu

10 predlogov Oddaljen projekt Aktiven pred 5 letoma/leti

Dodeljeno:

KashirinA

⭐⭐⭐⭐⭐⭐⭐⭐ i am Full stack developer. ⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐ I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. * 6+ years experience in web and mobile app developmen Več

$20 USD / ura
(141 mnenj)
7.5

10 freelancerjev ponuja povprečno za $19/uro na tem delu

Yonasi

Hi, We have well experienced development team in-house with 15 years of experience. They can do complex and logical Coding. We have satisfied client in the US (including an EMR developed for American client for us Več

$16 USD / ura
(11 ocen)
3.9
shiwani6390

Hi, I will update these code in your Joomla site. Looking forward for your response. Have a nice day!! Shiwani

$16 USD / ura
(12 ocen)
4.1
aaronpearson

The level of detailed instruction in your project description makes me very confident that I can complete it thoroughly, quickly, and to your exact specifications. I love coding and web design and have a Master's degre Več

$22 USD / ura
(0 ocen)
0.0
Proengineer88

Hello. I am a full stack developer with experience and expertise in Joomla and Joomla frameworks. Please get in touch with me for demo, demonstration of how I can solve your RsJoomla form plugin. Moreover I ca Več

$22 USD / ura
(0 ocen)
0.0