Advertisement:

Author Topic: General question on form submission (to implement Google nocaptcha recaptcha)  (Read 666 times)

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Hello,

Usually in PHP, when a form is submitted, the data is transferred to another file, as -

<form  action="nextfile.php" method="post">

In osclass, i see something like <form action="<?php echo osc_base_url(true) ; ?>" method="post">

Where does the data go after the form is submitted?
Thanks
« Last Edit: August 19, 2016, 07:51:46 pm by stevejohnson »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: General question on form submission
« Reply #1 on: August 19, 2016, 07:35:25 pm »
Hi,

Specific parameters created by hidden inputs "page" and "action".

Regards

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: General question on form submission
« Reply #2 on: August 19, 2016, 07:51:19 pm »
Hi,

Specific parameters created by hidden inputs "page" and "action".

Regards

Hi Teseo,
Let me explain my situation a bit better. I currently use shameem's nocaptcha recaptcha, which works very well on the website.
I however also have a mobile plugin (with lots of bugs which i'm trying to fix). This switches the website into the plugin's mobile website view when accessed from a mobile device.

The recptcha does not work on adding shameem's nocaptcha recaptcha hook on the mobile plugin files (whose structure is exactly the same as any other theme, but it resides in the plugin directory rather than the theme directory). And the mobile view gives an error when submitting the form, since it expects the captcha code.

Now, either the plugin files can be configured to work for the mobile plugin as well... OR a manual captcha has to be added to both the mobile site and the website.

What do you recommend would be the right way?
Many thanks


teseo

  • Hero Member
  • *****
  • Posts: 6169
I couldn't make any recommendation because yours seems to be a problem of incompatibility between two plugins. Their authors are the right persons to ask for help.

Regards

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
The mobile plugin author seems to have vanished, and hasn't replied since months.
Thanks anyway Teseo