Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • AnandBhopale 54 posts 172 karma points
    Apr 22, 2021 @ 13:48
    AnandBhopale
    0

    Possible use of umbDateTimePicker control under Custom Field Type for Umbraco Forms

    I am trying to develop Custom Field Type for Umbraco Forms. While reading few questions on forum, I came across umb-date-time-picker control. I want similar control to be available for end user to select dates.

    Questions

    • Is the good idea to include umb-date-time-picker control under
     Umbraco forms ? 
    • If not what is alternative ? 
    • I am getting "angular not define" if I am integrating markup and controller on custom field cshtml page? So, angular.controller ("umbraco") will only work    under backoffice UI ? Do I need to refer my angular JS as separate file in fieldtype.*.cshtml
    
  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Apr 23, 2021 @ 17:28
    Alex Skrypnyk
    0

    Hi Anand

    Am I right that you want to use Umbraco forms DatePicker from the backoffice on the front end of the site?

    It's not possible to use Umbraco directives on the front. Try to use jquery UI datepicker or some other.

    What JS framework do you use?

    Alex

  • AnandBhopale 54 posts 172 karma points
    Apr 27, 2021 @ 12:05
    AnandBhopale
    0

    Thanks Alex.

    I understood that I cannot use backoffice directoring to render fields on Front-end (is it possible to use this in future ?).

    I am using Pikaday library for date range control.

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Apr 27, 2021 @ 19:52
    Alex Skrypnyk
    0

    I think it will not be possible to use in the future. They are for backoffice

Please Sign in or register to post replies

Write your reply to:

Draft