TOPIC:

Skip already registered user - BF Registration Form 2 weeks 2 days ago #263251

  • Topic Author
  • geeksscript
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 114
  • Thanks: 1
Hello!

I hope you're doing well.

I am using BF Registration along with additional form fields for guest users. There are instances when the user submitting the form is already registered on the website and when they try to submit the form, it shows user already registered message.

How can I skip account creation for such users and simply save the form data they entered?

Please guide me.

Regards,
Sanchit

Please Log in or Create an account to join the conversation.

Skip already registered user - BF Registration Form 2 weeks 1 day ago #263256

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6926
  • Karma: 3
  • Thanks: 493
Hi,

this form is for registration, and if user is already registered he can't submit it again (this is the reason why this meesage is showed).

But here is another form which you can use when user is already registered:
crosstec.org/en/downloads/free/form-apps...omla-login-form.html

Hope this helps

Let me know if you need more help

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Skip already registered user - BF Registration Form 2 weeks 1 day ago #263322

  • Topic Author
  • geeksscript
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 114
  • Thanks: 1
Thanks for your reply, Tihana.

I am not looking for a login form when the user is registered. I have a form with around 10 fields (including email/username/password). After submission it then creates an account for the user in case s/he is not registered.

I am looking for a solution that would skip only the registration part for users that are already registered. Is this possible? Please let me know.

Please Log in or Create an account to join the conversation.

Skip already registered user - BF Registration Form 2 weeks 12 hours ago #263330

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6926
  • Karma: 3
  • Thanks: 493
Hi,

I am not 100% sure this is possible, but I will check it and let you know :)

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Skip already registered user - BF Registration Form 2 weeks 1 hour ago #263406

  • Topic Author
  • geeksscript
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 114
  • Thanks: 1
I guess I was able to achieve it, simply by checking email from database in Begin Submit as:
$the_email_field = ff_getSubmit('email');
$dba_email = JFactory::getDBO();
$sql_email_query = "SELECT id FROM #__users WHERE email like '".$the_email_field."'";
$dba_email->setQuery($sql_email_query);
$userid = $dba_email->loadResult();

if (empty($userid)) {

// registration code goes here

}

I hope this code is okay according to you. Let me know if you have any suggestions.

Regards,
Sanchit

Please Log in or Create an account to join the conversation.

Skip already registered user - BF Registration Form 1 week 6 days ago #263409

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6926
  • Karma: 3
  • Thanks: 493
Hi,

yep.
Did you test it?

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.050 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!