04 Apr 2023 17:20
|
tdconcepts
|
Hello,
I'm sorry for my bad English.
I would like to know if one of the calendar fields would allow me to define captions on certain dates and to include this information in the email sent.
For example if I choose the date of Sunday April 16, 2023, is it possible to put in caption when we click on it "Discovery of the bay at 8am"?
And of course once the form is validated send this information in the email "Sunday April 16, 2023, Discovery of the bay at 8am".
Subsidiary question, I saw that...
|
24 Mar 2023 08:49
|
craigholohan
|
I managed to get this to work the way I want to but it only works in Mozilla Firefox.
Edge, Chrome and Safari return "NaN-Invalid Date"
I created a Calendar field called "date_select", with Date Format "DD-MM" and then 14 Textboxes
Then added the code below to CSS and Javascript >> Javascript <script type="text/javascript">
function rsfp_onSelectDate(selectedDate)
{
// Get the input fields by their IDs - Week 1
var dateField1 = document.getElementById('week1_mon');
var dateField2... ...
|
28 Feb 2023 20:47
|
amheng5
|
I think you need to get the code associated to that calendar when viewing live form. Use "inspect" code in your browser for the calendar field. You should see a ID code.
my calendar example code as viewed on live form page not the rsform form program:
<input id="txtcal3_0" name="form[signaturedate]" type="text" value="" class="rsform-calendar-box txtCal" aria-required="true">
so the js code:
document.getElementById('signaturedatePreview').innerHTML = document.getElementById('txtcal3_0').value;
Hope this helps
|
06 Feb 2023 19:02
|
denis.r.oregan
|
I have managed to limit dates to Saturdays at 2:00pm only using the following:
<script type="text/javascript">
jQuery(document).ready(function(){
myDateTPicker = RSFormPro.jQueryCalendar.calendars[16]['BaptismDate'];
//replace 25 with your form ID and the date time picker name.
myDateTPicker.callbackSelectedDateTime = function(selectedDateObject, calendarInstance, calendarDateObject, input, inputFormat) {
weekDay = calendarDateObject.getDay();
if(weekDay == 0 || weekDay ==... ...
|
09 Jan 2023 01:07
|
jenjg@msn.com
|
I am looking to hire someone who can help me perform a template override to my RSEvents!Pro component so that the module version of the events calendar displays more like the menu item version of the calendar. I am using Yootheme Pro, so I am not able to display the calendar how I want it.
|
04 Jan 2023 13:41
|
dragos
|
Hello,
If you're using the Calendar field, you can take a look at this example.
If you're using the Date and Time picker field, you can take a look at this example.
|
16 Dec 2022 13:56
|
dragos
|
Hello,
You can try adding something similar under Components > RSForm!Pro > Edit your form > Form Properties > CSS and JavaScript > JavaScript area:
<script type="text/javascript">
jQuery(document).ready(function(){
myDateTPicker = RSFormPro.jQueryCalendar.calendars[17]['calendario'];
//replace 17 with your form ID and the date time picker name.
myDateTPicker.callbackSelectedDateTime = function(selectedDateObject, calendarInstance, calendarDateObject, input, inputFormat) {...
|
02 Dec 2022 09:49
|
koelma
|
Hi,
In the "Date and time picker" field you can not use the javascript function rsfp_onSelectDate(date, type, args, calendar) because that works only in the "Calendar" field.
Is there a similar function in the "Date and time picker"?
I want to disable sunday and monday.
Best regards,
Peter
|
09 Nov 2022 13:15
|
vidma
|
How to limit user to not be able to select the past days and two next days of calendar field? Also how to limit only to labor days - unable day selection of Saturdays and Sundays.
|
04 Nov 2022 19:20
|
iefke
|
HI,
I have a form so people can send in orders. I have got to work with this code so they can not select pickup date in two days:
//<code>
return date('m/d/Y', strtotime("+2 Days"));
//</code>
But what i want is the that if they order before 12:00 am they can pick it up in 2 days. If they order at 13:00 pm they can select a date 3 days ahead. So monday morning, they can pick it up wednesday. If they order monday afternoon the first day to select is next thursday.
How can i a get that code?
Hope someone can help me out. Thanks in advance.
|
28 Oct 2022 17:13
|
jacopo
|
Hi, how can I set the Date and Time Picker calendar to be able to select only a certain day of the week and a specific time?
Example on the calendar it is possible to choose only every Tuesday of each month from 6pm to 7pm
this is the page where I am working
www.yogafirenze.it/page/115.html
click on the button PRENOTA UNA LEZIONE DI PROVA
Thank you
|
24 Oct 2022 12:55
|
webmaster470
|
I have a form with following Javascript.
I want to ALLOW specific dates, although these dates could be disabled following this code.
Can I get some script to override and enable a specific Monday (for orders for Christmas, Newyear) for example?
<script type="text/javascript">
jQuery(document).ready(function(){
myDateTPicker = RSFormPro.jQueryCalendar.calendars[3];
myDateTPicker.callbackSelectedDateTime = function(selectedDateObject, calendarInstance, calendarDateObject, input, inputFormat) {...
|
03 Oct 2022 08:15
|
fchan
|
Dear Sir,
snipboard.io/MVlgbZ.jpg
I used a rsFromPro to create an appointment and save at #_booking datatable,
BUT if the (date, room_id, time, state) is duplicated, rsformPro will return warning and the INSERT action will not go on. (it is fine)
However, the rsformPro is mapping with a dpCalendar to show the appointment at a Calendar,
Now my problem is :
1. even I am failed to insert a record due to Duplicated Entry in database, the #__booking will not have any record added, BUT...
|
25 Sep 2022 12:38
|
johnhoube
|
Hi I have a form which has 10 Date & time pickers on and I only want the time picker to show.
I no I can use the below to turn it off for 1 Date & time picker, but was wondering if instead of me entering the below in 10 times I could just enter it once?
<script type="text/javascript">
jQuery(document).ready(function(){
myDateTPicker = RSFormPro.jQueryCalendar.calendars[25]['myDateTimePickerNameHere'];
//replace 25 with your form ID and the date time picker name....
Any ideas?
Thank...
|
12 Sep 2022 09:33
|
dragos
|
Hello,
I've added this one:
..under Components > RSForm!Pro > Configuration > Settings > Date Mask (for Date Submitted) area, and the result was: Lunes, 12 de Septiembre - 12:29
..while using the {global:date_added} placeholder in the email message. If this isn't how or what you're trying to achieve, please rephrase and provide more details on your topic.
|
|