TOPIC:

How to edit database table record by form/cb 7 years 3 weeks ago #178891

  • deserteagle's Avatar Topic Author
  • deserteagle
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 63
  • Thanks: 1
hi all

I have a table in database, only 2 fields, ID and name, this table need update frequently, so I'd like user be able to update (new, edit & delete) it by themselves.

Is it possible to use breezingform/content builder to achieve this?

Thanks.
Everything is possible.
Attachments:

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

How to edit database table record by form/cb 7 years 3 weeks ago #178915

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 2667
  • Thanks: 329
Hi,

You can use ContentBuilder or BreezingForms for this.

If you are going to use BF you will need the BF integrator. here are some useful links:
crosstec.org/en/support/online-documenta...update-tutorial.html
crosstec.org/en/support/online-documenta...-the-integrator.html

And if you are using CB you will need to create a data storage based on a DB table. Afterwards you need to create a view with new, edit, delete.. permissions. Here are some tuts:


Hope this helps.
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================
The following user(s) said Thank You: deserteagle

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

How to edit database table record by form/cb 6 years 11 months ago #181219

  • deserteagle's Avatar Topic Author
  • deserteagle
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 63
  • Thanks: 1
hi Lovre

1. by BF, I created a form but it generate duplicate subrecord every time user input it, I saw there were few post about this problem but no answer.

2.by CB, firstly, the storage table is limited inside joomla database but my talbe outside joomla db,
mysql database
\product_series (this is my original table outside joomla db)
\joomla\a_product_series ( this is the storage table by cb)
\joomla\j25_...
\joomla\j25_...

secondly, it show all records already in the table but only can edit new input records, it say "You are not allowed to edit this/these record(s)" when try to edit old records.
(solved by uncheck the option in {Force permissions on owner })

thirdly, how to enlarge the width of input text when edit it? No matter how I changed the cell / column / table prosperity width with "width:100px" or "width:150%" the text field width keep no change.




thanks
Everything is possible.
Attachments:

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

Last edit: Post by deserteagle.

How to edit database table record by form/cb 6 years 11 months ago #181275

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 2667
  • Thanks: 329
Hey,

1. If you use BF by it self it will make duplicate records in the database for every submission, but if you use the BF Integrator you can keep just one record for all submissions. Although you are limited to Joomla! tables only here also.

2. This is true, you can only use Joomla! tables.

About your field width question... You can Go to your CB> Views> Your View> Find you element and click the "text" link in the editable column (see attachment 1). Now go to the Script tab and under the Init (JS) write some code like this:
jQuery("#cb_2").css('width','100%');

#cb_2 being the id of the input field. You can find out your field id by inspecting the element in the edit phase (see attachment 2).

Please let us know if this works for you.
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================
Attachments:
The following user(s) said Thank You: deserteagle

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

How to edit database table record by form/cb 6 years 11 months ago #181621

  • deserteagle's Avatar Topic Author
  • deserteagle
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 63
  • Thanks: 1
Hi, Lovre

it says "The value of the property 'jQuery' is null or undefined, not a Function object"

But I found input 300% into the length of element in the Option tab next to the Script tab, It works! the text input area did expand.



Thanks
Everything is possible.
Attachments:

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

How to edit database table record by form/cb 6 years 11 months ago #181625

  • lovre's Avatar
  • lovre
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 2667
  • Thanks: 329
Hi,

That's great.

Let us know if you have more questions.
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===========================================
Need to renew Pro Support?
Buy Here!
===========================================
Satisfied?
Consider a membership!
===========================================
Like us on Facebook
===========================================

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

  • Page:
  • 1
Time to create page: 0.059 seconds

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!