Open Closed

Select DataPicker Field #6565


User avatar
0
nabass created

Good evening sir, i use (abp dynamic form) tag it's create Forms magic but if i want to use specific field to do something css style or js code how can i get it's Id ?? i went to console to get Id and it's work but it is not working with datapicker like Date Time i attached link video below to see what happen FYI: when i tried to catch any Id from dynamic forms into Javascript file it doesn't work or change what i want to do like image below Id selector just working with css but not working with js hope you can help me please

Video Link: https://streamable.com/3xrd2g

Image Link:

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The input is hidden.

    You can try the code below to listen to the event.

    $("#inputId").datepicker()
    .on("changeDate", function(e) {
        // `e` here contains the extra attributes
        debugger
    });
    

    https://bootstrap-datepicker.readthedocs.io/en/latest/events.html

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    nabass created

    hi sir it doesn't work i tried to give id display block but it still hidden see this datapicker i want when it date is changed to alert something just for try if it works or not i took your code response but still not working i even catch all form control to make any change but no javascript

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share a simple project liming.ma@volosoft.com

    Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.