When a node is created for a contest the radio buttons for contest statuses do not have a default selected, the default value in the code when no status is present is array(), I changed that to a 1 in includes/simple_contest.form.inc and now the active comes up selected but errors are appearing on other contest pages. I don't think the user in general should even see these options or at least there should be just one checkbox to enter the contest or not, for a weekly contest for instance? It seems confusing to the end user in other words. As it is now if nothing is selected and the save button is clicked a PDO error is returned and the node isn't added.

Comments

ralva83638’s picture

Status: Active » Closed (fixed)

Nevermind, wrong setup.