Is it possible to add a Persian calendar to the program? Thanks - Forum

Forum Navigation
You need to log in to create posts and topics.

Is it possible to add a Persian calendar to the program? Thanks

Hello and have a good time!
Thank you for your kindness and for some guidance on adding a Persian calendar to the app! Thanks for your help...

@javadrajabihakami Do you mean like this?

https://visualneo.com/forum/topic/neodatepicker-problem

Hello and have a good time ! I meant the Persian calendar! The calendar is in the Gregorian calendar and only converts the names of the months to Persian, but it is the Gregorian calendar. And it does not have much use for Persian language! Thank you for your guidance in this regard. Thanks ...

Uploaded files:
  • You need to login to have access to uploads.

Sorry, I know almost nothing about the Persian calendar. You will have to find out any JavaScript library.
It's possible to use any JavaScript library within VisualNEO Web.

Your dear ...! Thank you very much for your response ...

Sample JavaScript file from Persian calendar! Thank you for taking the time to take a look at it and tell me how it can be used in the program! I am ashamed to disturb your precious time ...

Uploaded files:
  • You need to login to have access to uploads.

Hello and have a good time! Please advise me on how to use the JavaScript file that I attached and how to use this file in my program! This file is a Java Persian calendar! Thankful

Quote from javadrajabihakami on February 11, 2021, 8:06 pm

Hello and have a good time! Please advise me on how to use the JavaScript file that I attached and how to use this file in my program! This file is a Java Persian calendar! Thankful

Hello Javad.

It is simple to do.

1: import javascript and css

1

2: insert a "Text Input" on page

3: insert these lines in pageEnter (or start up, etc) events. (based on library documentations) and replace red texts with your own text input and button id

BeginJS
Calendar.setup({
inputField : "datetextinput", // id of the input field
button : "datebselectBtn", // trigger for the calendar (button ID)
ifFormat : "%Y/%m/%d", // format of the input field
dateType : 'jalali',
showOthers : true,
weekNumbers : true
});
EndJS

4: Just run your app and click on text input (or button)

5

luishp, Vadim and 2 other users have reacted to this post.
luishpVadims7shanbefarhad2008

سلام ، یه دنیا تشکر دوست عزیز! تاج سری برادر ، خدا انشالله خیرت بده! خیلی عزیزی

shahram has reacted to this post.
shahram

Thank You shahram

shahram has reacted to this post.
shahram
Quote from javadrajabihakami on February 12, 2021, 1:32 pm

سلام ، یه دنیا تشکر دوست عزیز! تاج سری برادر ، خدا انشالله خیرت بده! خیلی عزیزی

خواهش میکنم اقا جواد عزیز. در خدمتیم.

Quote from farhad2008 on February 12, 2021, 6:02 pm

Thank You shahram

Your welcome, sir Farhad.

Hello and have a good time! I receive data from the calendar and pass it to TextInput, but when I want to do the set var command! My variable I get from TextInput is empty! Why?

@shahram سلام

چطور میتونم جاوا اسکریپت را در

Visualneowin یا Neobook

استفاده کنم

تشکر