390
Views
5
Comments
Way to show off the currdate automatically in the form??
Discussion

Happy Friday Everyone!

How to show off the currdate automatically when user completes the form ?

The form will be saved in the Reserve action and i put some widgets . As i am the beginner i don`t know how to deal with that!

Thank ahead! 

Hi 

Two ways to do it.

1) If you are setting up current date internally, remove the field from the screen design.

2) If you want show the field in screen design then put expression editor or textbox (mandatory set to false) variable with currdate() in preparation. After set internally current date as you do now.

Hope this helps,


thanks

Balu



Balu wrote:

Hi 

Two ways to do it.

1) If you are setting up current date internally, remove the field from the screen design.

2) If you want show the field in screen design then put expression editor or textbox (mandatory set to false) variable with currdate() in preparation. After set internally current date as you do now.

Hope this helps,


thanks

Balu



Hello Balu 

Thank you .

It works . i did it with expression . One more question please! 

TodayDate = the day when  user fills the form.

****Right now when i check the reservation list ,  all the date that user filled in the form become currdate!


eg.user filled this form yesterday , today date(Register date) will show yesterday date,not today ...

How should i do that ?

Thanks ahead!



Hi,

When user Submits the form, not matters if they fill form yesterday or today when user submitted the form the current date will be saved, since you use currdate() function, it always the today, will be considered.


 Thanks 

Balu


Balu wrote:

Hi,

When user Submits the form, not matters if they fill form yesterday or today when user submitted the form the current date will be saved, since you use currdate() function, it always the today, will be considered.


 Thanks 

Balu



Hi Balu 

my very first question was not complete.  my false.

when we make clinic reservation , we chose the current date for the reservation mostly,

for some reason , weather the clinic or user check the reservation history , the date should be the date when he filled the form.  This is the point i am facing now.

I know it is possible to do like online developer course in video (person DOB).But as the beginner i like to try in many ways so far to learn a lot.

Thanks your reply !


Sorry to re-live this thread, but my issue is very similar.

I'm coding a mobile app for myself, to train and learn. I need to create some recipes but add the create date and time of the recipe in the database. Manually is easy. 

The answer that I found works very nice in Web Applications. When I try to port to Mobile, it lacks the Preparation step which runs while loading and is exactly what I need.

Any ideas?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.