I’m having issues with my channel form and have tried simplifying it to just 1 grid field. I’ve used the {field:gridName} to spit out the entire grid on the frontend. I went in and just grabbed a specific input field and pasted it into my dummy form to ensure the row/col are correct.
My matchups channel has grid fields and i’m trying to update “week_1_matchups” but keep getting a 403 error based off the network tab in chrome. When i try to spit out errors to get a more detailed error all i get is “There was a problem with one or more Grid fields”. Is there a way to get more clearer reason?
I’ve verified the channel has permissions all checked for the Members (and i’m logged in). I’ve verified the row_id_1 exists and the col_id_347 exists.
{exp:channel:form
channel="matchups"
id="update-winners-form"
url_title="weekly-matchups"
include_jquery="yes"
error_handling="inline"
return="league/{segment_2}/leaderboard/{segment_5}"
}
{if no_results}
Error creating form
{/if}
{!-- {field:week_{segment_5}_matchups} --}
<div class="row mx-0">
<input type="text" name="week_1_matchups[rows][row_id_1][col_id_347]" value="14">
<div class="error">{error:week_1_matchups[rows][row_id_1][col_id_347]}</div>
{!-- {embed="widgets/_update-winners-form"} --}
</div>
<div class="submit-row row my-5">
<div class="col-12">
<input type="hidden" name="csrf_token" value="{csrf_token}">
<input type="submit" class="submit-btn btn btn-quaternary" value="UPDATE MATCHUPS">
{if global_errors:count > 0 OR field_errors:count > 0}
<ul class="errors">
{global_errors}
<li>{error}</li>
{/global_errors}
{field_errors}
<li>{error}</li>
{/field_errors}
</ul>
{/if}
</div>
</div>
{/exp:channel:form}
No recipe exists for leading a “right” life. The video game bitlife demonstrates this. You can select from a variety of scenarios here and make choices exactly like you would in real life. Your choices will guide you in one direction or another and mold your life in one direction or another. For instance, you can take care of your family, love your wife, and be a fantastic husband. Alternately, you might deceive her while also dating other women. Either you may succeed as an honest businessperson or you can deceive others. Choose your path, then take it to completion! Before you pass away, live an interesting life!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.