User has to fill in 6 fields, if the first field is filled in I put field ReadOnly =“true” and second field ReadOnly=“False” (Row_Rendered event) …
So to fill in the second field user has to click on SaveButton and fill in the third field …
Last field there is a problem if user does not click SaveButton.
How can I force user to click savebutton to execute last Row_Rendered event.
table fields - membercard1 …membercard12 ,Players 12 ,6 matches
For example, if match 1 ends 2-0 [edit field US1T and US1U] , the final score (fields ->resultshome,resultsvisitors) will be adjusted in Row_rendered event.
The first match is ReadOnly=FALSE, the other 5 are ReadOnly=TRUE, and as soon as result match 1 is filled in and field Status1 is set to “E” a Row-Rendered event will be executed after clicking Save Button. The first match will become ReadOnly=TRUE and the second match ReadOnly=FALSE and can be filled in.
If you don’t click Save button then no Row_Rendered event will be executed and match 2 will remain ReadOnly=TRUE and match 2 can’t be filled in.
Row_Rendered event also causes the final result to be adjusted, fields resultshome and resultvisitors.
Match 1 =2-0,match 2=1-2,then resulthome =3 and resultvisitors=2.
Problem is now when the last match (number 6) is entered, e.g. 2-0 then these editvalues will be saved in mysql file but without clicking Save the endresult resulthome and resultvisitors will not be changed (no Row-Rendered then).
I think it goes without saying that you have to click on Save, but note that not everyone does so when the last match result was filled in.
Is there a solution for this?
Thx