TOPIC:

Import CB element, balance, to new BF form for payment 1 week 4 days ago #245978

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

with this code I showed you in the example.
When a value is entered in the balance in Form A, it will be also displayed in the balance in Form B.
Also, this part:
index.php?option=com_breezingforms&ff_name=formB&name='.$name);
You need to redirect it from form A to form B.
Then
index.php?option=com_breezingforms&ff_name=formA&name='.$name);
Where formA is name of form, replace it with your name.

If you still have problems, I can access to your backend, and do this :)

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Import CB element, balance, to new BF form for payment 1 week 4 days ago #246054

  • Topic Author
  • jpen
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 60
  • Thanks: 0
It's my impression, perhaps im wrong, but shouldn't one be able to invoke the action desired within one form, ?? - Form A, that when the url is clicked, the form would be called, via username, and the element "balance" of the form ID'd, (baitahook2_formA or script ID 49) could post instantly in the "balance" of that form..
thanks.



cfmdev1.catfishfridaymusic.com/
darwindoes2
password

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

Import CB element, balance, to new BF form for payment 1 week 4 days ago #246056

  • Topic Author
  • jpen
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 60
  • Thanks: 0

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

Import CB element, balance, to new BF form for payment 1 week 3 days ago #246081

  • Topic Author
  • jpen
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 60
  • Thanks: 0
After further research in the forums, I found the below Form Pieces"before form" script code, that seems to be in the direction of what i'm trying to do.
Comments appreciated.
Much thanks.


$this->execPieceByName('ff_InitLib');
global $database, $record, $<your variable #1>, $<your variable #2>, $<your variable #3>;
$user = Jfactory::getUser()->get('id');
$formname = "<baitahook2_formA>";
$database->setQuery("
SELECT *
FROM jos_facileforms_records
WHERE user_id = '$user'
AND name = '$formname'
");
$row = $database->loadObjectList();
$record = $row[0];
$database->setQuery("
SELECT *
FROM jos_facileforms_subrecords
WHERE record = '$record->id'
AND name = '<bah_name>'
");
$row = $database->loadObjectList();
$<your variable #1> = $row[0];

$database->setQuery("
SELECT *
FROM jos_facileforms_subrecords
WHERE record = '$record->id'
AND name = '<balance>'
");
$row = $database->loadObjectList();
$<your variable #2> = $row[0];







crosstec.org/en/forums/3-breezingforms-f...s-between-forms.html

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

Import CB element, balance, to new BF form for payment 1 week 1 day ago #246136

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

I looked at your backend.
My idea for this is:
when the username and balance is filled in the form "baitahook2_formA",
on submit the form "balance_pay_now" opens and the username and balance are filled->(value for username and balance copied from first form "baitahook2_forA" to second form "balance_pay_now").

What do you think about this? Is this ok for you?

EDIT: crosstec.org/en/forums/3-breezingforms-f....html?start=6#246096
This is ok. I haven't seen it before. Sorry

Regards,
Tihana

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

Last edit: Post by tihana.krivic.
  • Page:
  • 1
  • 2
Time to create page: 0.048 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

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!