An update - the problem was solved by including

render_unsafe_content = True

Under the [wiki] section of trac.ini.  That one-liner is hinted at in the 
documentation, but not documented well enough to say that it's required.  I 
didn't realize HTML sanitization would eliminate submit buttons.

Anyway, if anyone else is having trouble with this problem, try that.



On Thursday, September 1, 2016 at 4:30:46 PM UTC-7, dan@imh wrote:
>
> I have a rather weird situation involving tracforms and tracincludeplugin.
>
> Whenever I'm including a form using the include plugin, the form cannot be 
> updated by itself.  It's as if the update button simply doesn't work.
>
> Whenever I simply create a form as normal, the form works beautifully.
>
> ie: 
>
> *The following is my code for /wiki/testform.  It creates a form that is 
> fully update-able and saves data between updates.*
> {{{
> #!TracForm
> #! track_fields
> #! submit_label "update"
>
> ||'''Test Field'''||
> ||[tf.input:field] ||
>
> }}}
>
>
> *The following is my code for /wiki/testform2.  It creates a form as 
> mirrored by testform, but the form is not update-able and does not save 
> data between updates.  Clicking the 'update' button does not even cause the 
> page to refresh.*
>
> [[Include(testform)]]
>
> Anyone run into this issue?  What's going wrong?
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to