Forums

query string to hidden field

vertragstresor 09 May, 2015
Hi there,

chronoforms has always 2 query strings in the form action element "url?chronoform=form_name&event=submit".

how can i change this to hidden fields?

example:

<input type="hidden" name="chronoform" value="form_name">
<input type="hidden" name="event" value="submit">



thanks

Rene
GreyHead 09 May, 2015
Hi Rene,

You can try but I'm fairly certain that won't work. The information is needed by Joomla!+PHP to redirect the URL to the component and I don't think that they know about Post variables.

Using a hidden menu item may work though.

Bob
vertragstresor 09 May, 2015
Yes, it works. I created 2 hidden fields name = chronoform , value = form_name and the 2nd. hidden field name = event, value = submit.

In html render -> action url = #
This topic is locked and no more replies can be posted.