crudbooster icon indicating copy to clipboard operation
crudbooster copied to clipboard

Child form columns default value

Open ghost opened this issue 7 years ago • 5 comments

How can I show a label with a dB content for a table in an add or edit form display? I want to set a default value to a column for a child form but it won't accept it.

ghost avatar Jul 07 '17 17:07 ghost

I solved it with javascript:

$(document).ready(function(){ $("#txt").attr("value", "some value"); });

pablojnd avatar Dec 06 '18 00:12 pablojnd

Thank you very much!

ghost avatar Dec 06 '18 00:12 ghost

I was also thinking if this should be added as a functionality to CB

ghost avatar Dec 06 '18 01:12 ghost

Thank you very much

lequyen90 avatar Dec 09 '18 08:12 lequyen90

I solved it with javascript:

$(document).ready(function(){ $("#txt").attr("value", "some value"); });

after click [Add to Table] value = not showing anymore .. any solution ?

arrazka avatar Sep 16 '22 16:09 arrazka