51 Posts
ostap
8 years ago
Topic

Joomla3.5.5

Seblod 3.8.1

2 days agoI began to useCode Pack.

Does not work in Before Render:

$fields['p_22222']->value = "test";

New value are not being rendered in the form!!! No effect in the form!!!

But in Before Store works fine structure:

$name=$fields['my_field']->storage_field;

$table=$fields['my_field']->storage_table;

$config['storages'][$table][$name]= 'test2';

Get a Book for SEBLOD
8 years ago
3
Level 1

Hello ostap,

welcome on SEBLOD forum.

First thing, have a look at the forum rules

and in second time, have a look to the tutorial below, which speak about Code Pack.


Regards.

Lionel

51 Posts
ostap
8 years ago
2
Level 2

Thank you. Already I read. And I read in this forum, too.

4229 Posts
Kadministrator
8 years ago
1
Level 3

Please read it again, you missed:

"To manipulate form fields value you will need to change value and form properties"

51 Posts
ostap
8 years ago
0
Level 4

Thank you, Klas!

Get a Book for SEBLOD