Conflict between forms

pmarty 29 Aug, 2012
Hello,
I can't find out why my forms are buggy.
I created 3 forms.

Two are "kind of duplicates" (same infos asked with different display) with 3 events :
[list]
  • saving datas in the same table *_table_form1

  • sending a mail

  • redirecting to a "thanks page" #1 (same one for both)
  • [/list]
    No captcha here
    You can find them on the right column on the homepage : http://cdf.a51.fr/
    And any other pages: http://cdf.a51.fr/Mes-solutions/mes-solutions.html

    The third is completly different one (a much longer form) with 3 events :
    [list]
  • saving datas in its own table *_table_form3

  • sending a mail with different subject than the others

  • redirecting to its own "thanks page" #2
  • [/list]
    This form has captcha
    You can find here: http://cdf.a51.fr/Divers/demande-de-rachat-de-credit.html

    When, I fill the third form (the big one) on the frontend, if I click on submit before filling captcha, I'm redirected to the thanks page #1!!!
    The datas are saved in the wrong table : *_table_form1 instead of *_table_form3
    And I received the wrong mail with only fields which have corresponding names.

    I can't find the problem...
    Do you have any idea?
    Thanks for your help
    GreyHead 29 Aug, 2012
    Hi Pmarty,

    Please see the video in this FAQ about setting up the Captcha. You may not have added the Event Loop action.

    For the database I can only guess that the DB Save action isn't correctly set up.

    Bob
    pmarty 29 Aug, 2012
    Hi Bob,

    My problem is stranger than this.
    Everything is ok for this two points (captcha and databse), because when I unpublish the two first forms, my form #3 works fine (captcha is asked and datas are stored in the correct database).

    But if I publish back the two little forms, all goes wrong again.

    Forms seem to not be able to live together! ๐Ÿ˜ฒ
    GreyHead 29 Aug, 2012
    Hi pmarty,

    OK - the problem may be that you have Relative URL set to Yes on the form General tab (that's the default setting). Then all of the forms on the page can end up with mixed up Submit URLs. Try setting Relative URL to No at least for the main form and see if that helps.

    Bob
    pmarty 29 Aug, 2012
    Bob,

    Done, but with no effect ๐Ÿ˜Ÿ
    The problem remains.

    I'm lost ๐Ÿ˜ถ
    GreyHead 30 Aug, 2012
    Hi pmarty,

    Sorry, me too. The simple fix is to hide the modules on the page where the other form appears. There has to be some conflict between the two :-(

    Bob
    pmarty 30 Aug, 2012
    Hi Bob,

    It's better now, with the module unpublished, I can send a full form.
    But... Only i there is no error in the captcha.

    But, if I don't Enter the captcha code, I'm redirected to the wrong thanks page instead of being asked to "enter the code".๐Ÿ˜ข

    It's turning me nuts!
    Philippe
    Max_admin 31 Aug, 2012
    Hi Philippe,

    Do you have more than 1 form in the same page ? like 1 in the body and another in a module ? if yes then try to set the "Relative URL" setting to "no" under the form "Edit" screen (click the form name in the manager), that "may" help.

    Regards,
    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    pmarty 31 Aug, 2012
    Hi Max,
    I unpublished any other module on the page.
    And already set relative URL to "no" as adviced by Bob.
    The problem remains๐Ÿ˜Ÿ
    Max_admin 01 Sep, 2012
    Ok, please make a copy of your form, delete all fields and leave only 1, test it, if it has the same problem then please show me a screenshot for the "Events" tab.

    Regards,
    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    pmarty 04 Sep, 2012
    Hi,

    I rebuild a new form from scratch, using security question instead of captcha. And there no more problem.
    I don't know what really happened, but it's ok now.

    Thanks for your help!
    Philippe
    Max_admin 05 Sep, 2012
    Good new, at least it's working solution! but there should be some conflict in the other form.

    Regards,
    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    This topic is locked and no more replies can be posted.