CMS MADE SIMPLE FORGE

CGBetterForms

 

[#11827] Form inline in a news detail

avatar
Created By: Mich-adg (Mich)
Date Submitted: Sat May 26 10:44:34 -0400 2018

Assigned To: Robert Campbell (calguy1000)
Version: 1.4.3
CMSMS Version: 2.2.5
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Form inline in a news detail
Detailed Description:
Hi,

when i place a form in an article detail (inline mode / no page redirect), after
submitting the previous page appears with all articles (but no confirmation
message is displayed). Is it possible to display the confirmation message inline
(replacing the form) ?


History

Comments
avatar
Date: 2018-06-21 04:19
Posted By: Darren Kierman (kierweb)

This isn't just related to news details etc ... it's related to any module which
contains additional variables .... in my case LISE.

When the form is re-displayed Inline, CGBetterForms doesn't appear to resend the
full set of variables, and therefore doesn't render the page correctly.
      
avatar
Date: 2018-06-21 05:24
Posted By: Darren Kierman (kierweb)

I've had a second look at this ... I believe the issue is the url of the action
of the form (not the variables).

It uses the internal url of the page, rather than the actual url e.g. internal
url = /our-school/news/     actual url = /2018/06/open-evening/

And that's why when you submit the form it directs you to the front page of the
news page.
      
avatar
Date: 2018-06-23 10:42
Posted By: Robert Campbell (calguy1000)

Fixed in svn
      
Updates

Updated: 2018-09-22 17:34
state: Open => Closed

Updated: 2018-06-23 10:42
resolution_id: => 7