[Date Range Picker] Invalid Date: Initial value is currdate() for StartDate and EndDate

Forge Component
(2)
Published on 10 Jul by Matheus Medeiros
2 votes
Published on 10 Jul by Matheus Medeiros

Hi, asking for your expert advice :)


This is the result:

and this is my initial settings of properties for my DateRangePicker.



Your help will be highly appreciated!

Thank you very much!

Gerrick Gurapo wrote:

Hi, asking for your expert advice :)


This is the result:

and this is my initial settings of properties for my DateRangePicker.



Your help will be highly appreciated!

Thank you very much!

Hi Gerrick,

You need to use two input widgets to store start date and end date.

Bind the local variables you created "DateStart" and "DateEnd" to two input widgets.

Specify the ID of those widgets as value to "StartDateOnputId" and "EndDateInputId" parameters of DateRangePickerCombo webblock as shown below




In preparation assign default values to local variables created to store the initial start date and end date as shown below


Hope these will help you.


Thanks and Regards,

Archana Gholap


Archana Gholap wrote: Hi, thank you for this but still now working. :(


:( 

Gerrick Gurapo wrote:

Hi, asking for your expert advice :)


This is the result:

and this is my initial settings of properties for my DateRangePicker.



Your help will be highly appreciated!

Thank you very much!

Hi Gerrick,

You need to use two input widgets to store start date and end date.

Bind the local variables you created "DateStart" and "DateEnd" to two input widgets.

Specify the ID of those widgets as value to "StartDateOnputId" and "EndDateInputId" parameters of DateRangePickerCombo webblock as shown below




In preparation assign default values to local variables created to store the initial start date and end date as shown below


Hope these will help you.


Thanks and Regards,

Archana Gholap




Solution

Gerrick Gurapo wrote:

Archana Gholap wrote: Hi, thank you for this but still now working. :(


:( 

Gerrick Gurapo wrote:

Hi, asking for your expert advice :)


This is the result:

and this is my initial settings of properties for my DateRangePicker.



Your help will be highly appreciated!

Thank you very much!

Hi Gerrick,

You need to use two input widgets to store start date and end date.

Bind the local variables you created "DateStart" and "DateEnd" to two input widgets.

Specify the ID of those widgets as value to "StartDateOnputId" and "EndDateInputId" parameters of DateRangePickerCombo webblock as shown below




In preparation assign default values to local variables created to store the initial start date and end date as shown below


Hope these will help you.


Thanks and Regards,

Archana Gholap




Hi Gerrick,

In which action you are assigning the initial values for start and end date variables.

Also can you plz attach full snapshots of values provided to datepicker webblock.

Attaching my working OML for your reference.


Thanks and Regards,

Archana Gholap  



Solution

Archana Gholap wrote:

Gerrick Gurapo wrote:

Archana Gholap wrote: Hi, thank you for this but still now working. :(


:( 

Gerrick Gurapo wrote:

Hi, asking for your expert advice :)


This is the result:

and this is my initial settings of properties for my DateRangePicker.



Your help will be highly appreciated!

Thank you very much!

Hi Gerrick,

You need to use two input widgets to store start date and end date.

Bind the local variables you created "DateStart" and "DateEnd" to two input widgets.

Specify the ID of those widgets as value to "StartDateOnputId" and "EndDateInputId" parameters of DateRangePickerCombo webblock as shown below




In preparation assign default values to local variables created to store the initial start date and end date as shown below


Hope these will help you.


Thanks and Regards,

Archana Gholap




Hi Gerrick,

In which action you are assigning the initial values for start and end date variables.

Also can you plz attach full snapshots of values provided to datepicker webblock.

Attaching my working OML for your reference.


Thanks and Regards,

Archana Gholap  



Hi, Archana!

It works perfectly fine now.

Thank you very much!

You're a savior!!


Regards,

Gerrick Gurapo

Gerrick Gurapo wrote:

Archana Gholap wrote:

Gerrick Gurapo wrote:

Archana Gholap wrote: Hi, thank you for this but still now working. :(


:( 

Gerrick Gurapo wrote:

Hi, asking for your expert advice :)


This is the result:

and this is my initial settings of properties for my DateRangePicker.



Your help will be highly appreciated!

Thank you very much!

Hi Gerrick,

You need to use two input widgets to store start date and end date.

Bind the local variables you created "DateStart" and "DateEnd" to two input widgets.

Specify the ID of those widgets as value to "StartDateOnputId" and "EndDateInputId" parameters of DateRangePickerCombo webblock as shown below




In preparation assign default values to local variables created to store the initial start date and end date as shown below


Hope these will help you.


Thanks and Regards,

Archana Gholap




Hi Gerrick,

In which action you are assigning the initial values for start and end date variables.

Also can you plz attach full snapshots of values provided to datepicker webblock.

Attaching my working OML for your reference.


Thanks and Regards,

Archana Gholap  



Hi, Archana!

It works perfectly fine now.

Thank you very much!

You're a savior!!


Regards,

Gerrick Gurapo

Hi Gerrick,

Great!!

Welcome..ready to help anytime :)

Thanks and Regards,

Archana Gholap