[pmwiki-users] Fox submits text twice

Hans design5 at softflow.co.uk
Mon Mar 1 16:53:56 CST 2010


Thursday, February 25, 2010, 10:49:28 PM, Audun Myhra Bergwitz wrote:

> I'm experimenting with Fox forms, but have run into a few problems.

> I've created a form to create new pages, but the content of the form
> gets posted twice to the new page. I had the problem, then it suddenly
> went away, but now it's back again.

> Also, posting things into an array with checkboxes doesn't seem to work.

> Is it something wrong with my code? Is it a bug? Any config-stuff I need
> to do?

> I've updated to the latest version of pmwiki just a few days ago, but
> that doesn't seem to have had any effect of any of the problems.

> Any help is appreciated.

I can't give you much help, other than this:

checkboxes: you try to submit PmWiki link markup as values. Possibly
this is a bad idea.

I won't test your form as I can't even copy and paste it into a page,
and it is far too complex and big, sorry!
I have no idea why the form should post something twice, as I cannot
decipher it the way you have put it.

Try using (:foxmessages:) on the form page to give you feedback, and
make sure the form does not use redirect when you debug it.


  ~Hans




More information about the pmwiki-users mailing list