SMFHacks.com

Ad Seller Pro => Support => Topic started by: ApplianceJunk on April 22, 2012, 08:35:46 pm

Title: Form code don't work in all locations?
Post by: ApplianceJunk on April 22, 2012, 08:35:46 pm
Hi,

Here is something I have been meaning to ask you for some time now.

We use a form for a parts search box at the top of our site. It works great if I put it anyplace at the top of our site using Ad Seller Pro.

But if I take the same code for that form and try to place it using Ad Seller Pro in locations, After First Post or After Last Post it shows up fine, but the form don't work.

I can enter a model or part number in the search box and click the search button, but nothing happens after that.

Any idea's why?

Thanks,

Title: Re: Form code don't work in all locations?
Post by: SMFHacks on April 22, 2012, 08:44:08 pm
What areas in your forum?

Codes that contain form elements will not work in certain areas. Such as inside posts. This is due to the fact there are other forms on the page such as the topic display page or message listing page.
Basically any area that is near a form submission or action that submits a form
Title: Re: Form code don't work in all locations?
Post by: ApplianceJunk on April 22, 2012, 08:50:44 pm
Quote
What areas in your forum?

I just check mark the locations for 'After First Post' or 'After Last Post'.

If a form don't work in them area's that's fine. I was more or less just wondering if it was something I was doing wrong or what.

Thanks,
Title: Re: Form code don't work in all locations?
Post by: SMFHacks on April 22, 2012, 08:53:32 pm
Yeah it won't work in those areas there is a form on that page.
Title: Re: Form code don't work in all locations?
Post by: ApplianceJunk on April 22, 2012, 08:55:04 pm
Sounds good, I will quit trying now, lol...

Thanks for the reply.