Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Default value of strings = 1 14 Aug 2016 15:05 #14432

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
The damnedest thing has happened on one of my components, this may be new, or just happened.

The default value of any string type field is '1'

I have literally just built a comoonent, and this default value is certainly not being honoured by the form, but looks odd in the builder. It can be deleted and stays deleted
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Default value of strings = 1 14 Aug 2016 15:06 #14433

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Correction, it cannot be deleted. Not done a new build yet to see if it sticks
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Default value of strings = 1 14 Aug 2016 19:01 #14434

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I don't understand.
Can you be more precise please ?
Coding is now a piece of cake

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

Default value of strings = 1 14 Aug 2016 21:40 #14435

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
OK, its gone now

That was weird

Every single string / text field in my tables had picked up a default value of '1'

now they dont. moving on :-)
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Default value of strings = 1 15 Aug 2016 12:27 #14439

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I didn't changed anything there these days because I only touched the javascript builder, and nothing from the PHP generator.
So it is very improbable.

Closed
Coding is now a piece of cake

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

Default value of strings = 1 11 Sep 2016 20:53 #14520

I have now a similar problem, entering gives an empty string. Not NULL.
Before it was NULL I believe?

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

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

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started