9 years ago
4
Topic

Hello,

Could you explain how the submit button works? 

I have a submit button configured with the property task = " save&close (inherited)" . It works fine but if I add a custom variable (my_variable=5) the latter is not considered. For this purpose I have to change the task: task = "save&redirect" : in this case the url variable is considered but the behavior is different and I can not automatically return to the original page.

2nd question: I want to use a field value as URL variable. I tried that :

my_variable=$fields['my_fieldname']->value    

and that:  

my_variable=$cck->getValue('my_fieldname')   

but It doesn't work.

Thank you for your help

Get a VIP membership
4 Posts
jmf
8 years ago
1
Level 1

I have the same problem. Did you find the solution?

Thank you.

4229 Posts
Kadministrator
8 years ago
0
Level 2

103 Posts
shubhaanshu
8 years ago
0
Level 1

Hi Friends,

Custom Variable is working fine with link from "list" or "content"

but I am trying to pass a custom variable from "next" button in multistage site form, to be grabbed by a dynamic select field's where clause.

 it is not working.

4229 Posts
Kadministrator
8 years ago
0
Level 1

Get a Book for SEBLOD