Buy Now
Sign in

shortcode for Update conditions in Save Data with data Provider

e
emmexx

If I'm not missing something in the docs, faqs and forum, it is not straightforward to enter the update conditions when using something like a loop.
Now you have to write something like

				myfield:{var:loop_name.row.fieldinloop}
				

or longer.
loop_name here is the name of a loop that calls the save action or function.
And the Save data Data Provider property is set to {var:loop_name.row}.

Wouldn't it be easier to be able to access the values using an ad hoc short command that references the provided data and not the loop?

bye
maxx

admin

Hi maxx,

Do you have a specific suggestion ? I could not come up with an easier shortcode for loops :)

Best regards

Max
If your main question got answered then please mark the answer using the button!

e
emmexx

admin:

Do you have a specific suggestion ? I could not come up with an easier shortcode for loops



{this:fieldName} ?

If an array is in the Data Provider you can reference what is in the array.

I f the Data provider is {var:loop_event15.row} and the row is
				(
[brand] => BMW
[model] => M6
)

{this:brand} or {this:model} would be easier to understand and remember.

bye
maxx