Skip to main content
November 4, 2022
Question

timesheet submission form

  • November 4, 2022
  • 6 replies
  • 0 views

Hi,  I want to create an interface when the users select the date,

then the form will display a form for the whole week,

example I choose 4 Nov 2022,

will generate a form table to display the week to allow the user to enter how many hours they work on the day.

such as something like this 

    6 replies

    stefanhelzle0001
    Brainy
    November 4, 2022

    That sounds like a good case for an editable grid.

    Do you have any specific questions?

    November 4, 2022

    my question is how to design the interface. 

    the logic of it, like when the user selects the date and then display it, how to get the start day of the week or the logic flow of the interface 

    stefanhelzle0001
    Brainy
    November 4, 2022

    I think this goes a bit beyond of what the community can provide here. I suggest to get started and we will be happy to help on specific issues.

    gopalk2865
    Participating Frequently
    November 4, 2022

    HI Sunny, To implement you would need multiple logic. The main logic will be to fetch the whole week details after users select a date. Then either you can use gridlayout , so that users can put their values . Then get the data from this interface and save into your db after creating the PM.

    November 4, 2022

    so it is like the user choose a date,

    then create list of the week, 

    then add the work hours,

    then save inside the database?

    gopalk2865
    Participating Frequently
    November 4, 2022

    yes Sunny. You can explore more design patterns as well to beautify your interface , but the logic will be same