How to put a form name and with querystring on menu item

peterswa62 19 May, 2013
I have a Form which I need to use a querystring paramater to filter results. I want to put this on a Joomla menu on several menu items each with a diffferent querystring.

The problem is it only has 2 fields on the setting for the name of the Chronoform and another for event but no setting for an additional querystring parameter. How do you best add a name of a Chronoform with a querystring to a menu item?
GreyHead 21 May, 2013
Hi Peterswa62,

I don't think that there is any way to add parameters directly to a ChronoForms menu item.

I can think of a couple of possible workarounds though.

a) You could use a Menu item of type external to add a URL including the parameters. This should work but I've heard that there are some problems with using this kind of menu item.

b) I'd probably do it the other way round - check the ItemId from the menu on the Form On Load event and set up whatever I needed based on that info.

Bob
peterswa62 21 May, 2013
I think I prefer option b). Could you give me further information about how to do this.

What code would you write to check the ItemId of the menu in Form Load?
This topic is locked and no more replies can be posted.