TOPIC:

ff_query 6 years 11 months ago #109188

  • Topic Author
  • terrytbones
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
I want ff_query not to overwrite my sql default values. I have a number of Default values set to -9 and when the db is created they are set to -9 when I submitt my form they all get set to 0 unless I have the value set in the form.
Last edit: Post by terrytbones.
The topic has been locked.

ff_query 6 years 11 months ago #109212

  • Topic Author
  • terrytbones
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
so I found I can change the NULL default in ff_getSubmit, however this will also make the change to all my forms. So I tried creating a new function ff_getSubmitpathways added it to the Init Library so I could controll which fields get the -9. However when I try to submit I get a fatal error saying that ff_getSubmitpathways is undefined
The topic has been locked.

ff_query 6 years 11 months ago #109265

  • chrisal's Avatar
  • chrisal
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 6983
  • Karma: 187
  • Thanks: 629
Hello TerryTBones,

could you please provide more information (What do you want to achive)?

Maybe there's an easier solution.

regards
Chris
The topic has been locked.

ff_query 6 years 11 months ago #109279

  • Topic Author
  • terrytbones
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
Problem solved, seems there was a bit of latency betwwen the time I added the modified ff_submit to Init Library. What I needed to do was have diffrent Defaults be inserted into the DB that I have for the form. the default is NULL which puts a 0 in if nothing is selected in the form. I needed a -9 which they are using to represent "no data". I achived this by creating a modifed ff_submit and calling it in the Submit Form
The topic has been locked.

ff_query 6 years 11 months ago #109295

  • chrisal's Avatar
  • chrisal
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 6983
  • Karma: 187
  • Thanks: 629
Hello Terry,

let us know if you have further questions.

regards
Chris
The topic has been locked.
  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.048 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!