hi! I just recently found about this snippet that did what I was trying to do.
first, I found the wiki article which I edited to fit my needs.
The form to input the data showed well, but after submitting the data it did nothing, just showed again the start page and, of course, no data was inserted to the table.
I then copied exactly the code in the example. no luck, same behavior. And no mather what I put as debugging info in my function, it was as if it was never run.
after hours reading the forum and trying every solution I didn’t know where to search.
looking at the source code in the page where I had the formin the form tag, it sayed:
<form action="es/nuevo-tema.html".............
yes, I use friendly urls.
but every other link created by wayfinder, started with a "/"
/es/Bienvenido.html
etc..........
so I added a / in my form action:
<form action="/[~[*id*]~]"..................
and this did the trick.
I don’t know exactly why but if you are as lost as I was, you may try it...
Regards Abner
Magic Creations