TOPIC:

Use a form field in form name 3 weeks 2 days ago #252325

  • benw's Avatar Topic Author
  • benw
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 25
  • Thanks: 0
I have hacked facileforms.process.php so as to give uploaded forms a name based on one or more of the forms fields.
Thus in the function expxml I have

$patname = '';
for($x = 1; $x <= 4; $x++) {
$patname .=' '. $xmldata[$x][_FF_DATA_VALUE];
}

$xmlname = 'Data uploaded for' . $patname . $date_stamp . '-' . mt_rand(0, mt_getrandmax()) . '.xml';

Now this works however obviously it will be overwritten on any BF update. I haven't found a submit piece to achieve the same thing, am I missing something
Thanks

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

Use a form field in form name 2 weeks 6 days ago #252358

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

did you test it in end submit piece like this:
$this->execPieceByName('ff_InitLib');
$patname = '';
for($x = 1; $x <= 4; $x++) {
$patname .=' '. $xmldata[$x][_FF_DATA_VALUE];
}

$xmlname = 'Data uploaded for' . $patname . $date_stamp . '-' . mt_rand(0, mt_getrandmax()) . '.xml';

Regards,
Tihana

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

  • Page:
  • 1
Time to create page: 0.042 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!