Date Reservation widget: option to pass multiple dates to separate Date picker fields

  • Profile Image
    Dtbzz
    Asked on June 11, 2019 at 07:21 AM
    Is there a possibility with the calculate widget to only select a number of characters?
  • Profile Image
    gerardw
    Answered on June 11, 2019 at 07:25 AM

    You can have the similar option to copy field values based on certain characters as you require (i.e. select characters 9 to 16 from "field1" to fill "field2"?).

    See the sample condition below.

    15602522861106_2.png 

    Hope this helps.

  • Profile Image
    gerardw
    Answered on June 11, 2019 at 08:17 AM

    To be able to transfer these dates into Google calendar, you will need to copy the date values to date picker fields and then pass data to google calendar. That means that one Date reservation widget will transfer one date to another Date picker field.

    I've shown an example from your form here. As a sample, I've added a "Date" field just below the Date Reservation widget titled "Selecteer een dag voor het DataBuzz-bezoek":

    15602551981106_3.png

    Similarly you will need to create condition for the required dates and map them to the required "Date Picker" fields. If you do not know what date the user will/should pick, then modify the condition as below:

    15602554381106_4.png

    Hope this helps.

  • Profile Image
    gerardw
    Answered on June 11, 2019 at 08:53 AM

    Sorry, but there is no other workaround to get the multiple dates of date reservation widget to different date picker field.

    Currently the only possibility is to add separate "Date Reservation" widget for each date. Map them to the individual Date Picker field and keep these hidden.

    Let me escalate this to out back end team to check if we can have an option to get this implemented. However, we will not be able to provide an ETA as to when or if this feature can be implemented, but we will keep you posted on updates.

  • Profile Image
    Dtbzz
    Answered on June 11, 2019 at 10:41 AM

    Apart from the Date Reservation to Date Picker field "issue", is there a way to only select a certain amount of characters from a field and add these to another field?


    E.g.:

    Let's say you want to create e-mail addresses based on first 2 letters from first name and last name.

    First name: John

    Last name: Doe

    Wanted e-mailadress: jodo@example.com


    I know the calculation field can do

    1560264014Screenshot 2019-06-11 at 16.39

    resulting in john.doe@example.com.

    But is there a way to get jodo@example.com through the calculation (or any other!) widget?

  • Profile Image
    Dtbzz
    Answered on June 11, 2019 at 10:46 AM

    I just found the substring widget, I'm going to try if this works out!

  • Profile Image
    Dtbzz
    Answered on June 11, 2019 at 10:47 AM

    UPDATE: I can find them in the html code

     

    In addition: where can I find the field ID of the text fields in my form (in which the selected dates are from the Date Reservation widget are displayed)?

  • Profile Image
    Alan_D
    Answered on June 11, 2019 at 12:13 PM

    You can find the Date Reservation widget's field ID from its advanced settings tab. 15602694202.pngPlease insert the ID without # sign into the Substring widget. 15602694823.pngI think you may need to use multiple Substring widgets. Then you can concatenate them using form conditions.