1
Good Morning,
I have a final chair work for web development, where I need to create a crud for teams, players, create a style table of the Brazilian championship and create the rounds. I’ve managed to create the Ruds and the championship table but create the rounds is complicated. I thought I’d create a combobox to make the matches and use textfield to insert the results, create this is easy the problem is how can I do when using combobox to not allow the same team twice in the same round and if the value of textfield then step to some field of the database. Or if you have a better idea to give, thank you all.
Before adding the Time consult in the bank if this team is already in the round.
– Krismorte
@Krismorte would do an if for example, to see if akele team this in the round,?
– user46438
Yes. Since you didn’t post your code, it is difficult to give other ideas. If you are working with List you can simply remove the team from the list and reload the Box. Anyway.
– Krismorte
I left the note at home and I’m at work at the moment but what I have on this screen 10 combobox Ex.: Time A X Time B. Where I insert a result for each match. And the combobox is generated from the BD.
– user46438
From what I understand there this screen with the 10 combobox need not exist. Since it will be informed the results and for that the round must have already been registered. Example Round A Time1 xTime2 time3 xtim4 Round B Time1 xTime3 time2 xtim4
– Krismorte
It would be something like happened today the round of Brasileirão, hence would for example register on the screen this round with the results. Ex.: Time A 2 x 1 Time C Time D 0 x 0 Time B. The excerpt from the work that talks about the result: To perform this work you can use the content seen in HTML, CSS, PHP, Database, Jquery, Javascript .
– user46438
Then go back to my first comment. Every time you register you have to make a query in the bank.
– Krismorte
I’m sorry to ask you this stupid question, but if I were to sign up, for example, team A as the lead team, for example, when choosing a visitor, wouldn’t Team A show up again? I would like to restrict this because surely my teacher will ask me for this validation. Thank you for your help and sorry to take your time.
– user46438
Load the sender’s combobox and add an event to it to load the other box from the selected item excluding it
– Krismorte
Thanks I’ll try.
– user46438