how to make countdown timer to disable the button for one day
NickName:Om Prakash Verma Ask DateTime:2018-02-26T14:32:35

how to make countdown timer to disable the button for one day

I am developing a quiz app in it I retrieve one question per day date wise and the user has to answer only this retrieved question. I want to disable my button after user submitted his answer and it remains disabled until next day.

Copyright Notice:Content Author:「Om Prakash Verma」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48982677/how-to-make-countdown-timer-to-disable-the-button-for-one-day

Answers
user4571931 2018-02-26T07:18:28

when user submit answer that time your button disable like using below code..\n\n myButton.setVisibility(View.GONE);\n\n\nadd also make one if condition like your date wise and also answer given by user that time invisible button you make one condition like ...\n\n if (question.date==currentDate && answer ==true)\n myButton.setVisibility(View.GONE);\n else\n myButton.setVisibility(View.VISIBLE);\n",


More about “how to make countdown timer to disable the button for one day” related questions

how to make countdown timer to disable the button for one day

I am developing a quiz app in it I retrieve one question per day date wise and the user has to answer only this retrieved question. I want to disable my button after user submitted his answer and it

Show Detail

how to make CountDown timer without button

I'm making quiz app and i need to make the CountDown timer for the time the question can be answered, but I don't know how to make CountDown timer without pressing any button or make the CountDown ...

Show Detail

How to Make Countdown Timer That Reset Everyday

Just want to ask how to make a countdown timer with alert message every 6 hour and its reset every day. I already make one with var countdowndate but its not what I wanted and I already search in the

Show Detail

Disable/hide submit button after countdown timer finished

I am using jquery.countdown.min.js plugin. Below are the javascript code from webpage. <script type="text/javascript"> $('#example').countdown({ date: '06/06/2015 10:16:5...

Show Detail

make a countdown timer

I want to make a countdown timer of New year from current time in android... Calendar thatDay = Calendar.getInstance(); thatDay.set(Calendar.DAY_OF_MONTH,1); thatDay.set(Calendar.MONTH,0); // 0-11...

Show Detail

Make a global timer

I have 3 buttons. If I click on a button, I have to disable all the buttons until the countdown timer expires. I am trying to make a Global countdown timer. Could you tell how to make it working?

Show Detail

How to end my countdown timer when a button is clicked?

I'm trying to create a function that will end a countdown timer, or automatically make the minutes and seconds part of the countdown timer === 0; however, it seems that using clearInterval(time) do...

Show Detail

How to make countdown timer in Python without input?

Iv'e been trying to create a countdown timer for a game in python however i'm not sure how to code it without including the input question for the time at the beginning of the code. So far the code...

Show Detail

Stop Countdown Timer Javascript onClick

Given the Following code: $('#myButton02').click(function(){ $('#myButton02').hide(); $('#counter').animate({width: 'toggle'}); var count=65; var counter=

Show Detail

jQuery.countdown on timer finish start a new timer with button

I am trying to make a countdown timer based on the Pomodoro technique where you work for 25 minutes then take a break. I am writing the page in Javascript and jQuery using the jQuery.countdown and

Show Detail