inherit
180580
0
Oct 13, 2024 16:46:13 GMT -8
My Display Name
335
June 2012
jsher1994
|
Post by My Display Name on Nov 23, 2012 17:23:45 GMT -8
Hello, I am creating my first plugin and this is my first time even looking at the plugin system. So I have a real quick question I have an autoform and when a user enters something into the form it goes where it's suppose to go (Let's say inside a table like a message) how would I make it go where it's suppose to ? Edit: Never mind I figured it out ... anyways how is everyone ?
|
|
#e61919
1
0
1
Sept 28, 2023 13:31:20 GMT -8
VS Admin
20,147
January 2000
admin
|
Post by VS Admin on Nov 23, 2012 17:32:03 GMT -8
Click over to the Components tab. You should see the variables listed down the side. The basic syntax would go something like:
{foreach $[plugin.settings.autoform_name]} $[plugin.settings.autoform_name.variable_id] {/foreach}
Where "autoform_name" is what you named your autoform, and "variable_id" is the variable id you specified for the item in the autoform.
|
|
inherit
180580
0
Oct 13, 2024 16:46:13 GMT -8
My Display Name
335
June 2012
jsher1994
|
Post by My Display Name on Nov 23, 2012 17:34:13 GMT -8
Click over to the Components tab. You should see the variables listed down the side. The basic syntax would go something like: {foreach $[plugin.settings.autoform_name]} $[plugin.settings.autoform_name.variable_id] {/foreach}
Where "autoform_name" is what you named your autoform, and "variable_id" is the variable id you specified for the item in the autoform. Right as you posted that I figured it out, I didn't know about the foreach in the plugins though, so thanks <3
|
|