Support » Plugin: Calculated Fields Form » How to change multiple id fields at once?

  • Resolved elec1123

    (@elec1123)


    Hello.

    Thank you for making a good form.

    I’m using ID 1 ~ ID 200
    You should change the value of each fieldname40, fieldname55 each day.

    Is there a way to change all at once?

    id=1
    fieldname40, fieldname55

    id=2
    fieldname40, fieldname55
    .
    .
    .
    id=100
    fieldname40, fieldname55

    Please reply by email

    I can use a great form, thanks again.

    • This topic was modified 2 years, 8 months ago by elec1123.
    • This topic was modified 2 years, 8 months ago by elec1123.
Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @elec1123,

    I’m sorry, I’m not sure what do you mean with change the values of fields each day. If you have different forms, and you want change the values of their fields, you should press the “Settings” button corresponding to the form, select the field, and enter a new value.

    Could you be more specific, please?

    Best regards.

    Thread Starter elec1123

    (@elec1123)

    You must enter a change in the form that produces a bond quote that varies daily.

    a daily rate of change
    id = 1
    If you enter fieldname40, fieldname55 form, all the calculations are written to apply to the quote.

    It’s too hard to change 200 created IDs one by one.

    Please advise on how to change fieldname40, fieldname55 at once.

    id = 1
    fieldname40, fieldname55

    id = 2
    fieldname40, fieldname55
    .
    .
    .
    id = 100
    fieldname40, fieldname55

    Plugin Author codepeople

    (@codepeople)

    Hello @elec1123,

    I’m not sure if you are referring to an equation in a form with many “if” conditional statements, or if you are referring to multiple calculated fields in a same form, or if you are talking about to multiple forms.

    If you are referring to a form, could you indicate the URL to the web page where the form is published for checking its structure, please?

    Best regards.

    Thread Starter elec1123

    (@elec1123)

    In fieldname40, fieldname55 is specified as hidden.

    URL to reference, https://freecartok.com/%EC%9E%90%EB%8F%99%EC%B0%A8/%EB%B2%A4%EC%B8%A0/

    Plugin Author codepeople

    (@codepeople)

    Hello @elec1123,

    I’ve visited your web page, and you are referring to fields in different forms. I’m sorry but that’s not possible, you should edit each form by separated, furthermore, I’ve checked different forms in your website and the values of these fields are different on them.

    If the values of the fields: fieldname40 and fieldname55 are the same in all your forms, and you want to update their values at the same time, an alternative would be use the “Server Side Equations” add-on (distributed with the Developer and Platinum versions of the plugin). You can define a couple of server side equations and call them from the forms. For example, entering the equations:

    
    $GLOBALS['SERVERSIDEEQUATIONS']['value_a'] = function() { return 0.06316; };
    $GLOBALS['SERVERSIDEEQUATIONS']['value_b'] = function() { return 0.08978; };
    

    And then, entering as the equations of the calculated fields:

    – For the fieldname40 field:

    
    SERVER_SIDE('value_a');
    

    – For the fieldname55 field:

    
    SERVER_SIDE('value_b');
    

    Implementing the server side equations and calling them from the calculated fields, you only should edit the values in the server side equations, and won’t be needed to edit the forms every time want change these values.

    Another alternative would be use a pair of “DS” fields instead calculated ones (the DS fields read their values from external data-sources, like a database or a CSV file), and to define the values in a CSV file that would be read from every form.

    Best regards.

    Thread Starter elec1123

    (@elec1123)

    Thank you for your consideration.

    Thread Starter elec1123

    (@elec1123)

    Developer
    $ 99.99 USD

    Upon payment,
    Can you apply the method you presented?

    Plugin Author codepeople

    (@codepeople)

    Hello @elec1123,

    The code should be implemented by yourself, following just the steps described in the previous ticket

    Best regards.

    Thread Starter elec1123

    (@elec1123)

    Thank you.

    Thread Starter elec1123

    (@elec1123)

    We have paid for the developer version for the above.

    What fields support this technology? (Add a Field)

    Thread Starter elec1123

    (@elec1123)

    Functionality verified. Thank you.

    Plugin Author codepeople

    (@codepeople)

    Hello @elec1123,

    I assume, by your last ticket, that you have answered the previous question by yourself, right?

    Best regards.

    Thread Starter elec1123

    (@elec1123)

    If you enter the Form Controls part (HTML content) ad sens code in your form, the form functionality will be limited.
     
    Is there a workaround?

    Plugin Author codepeople

    (@codepeople)

    Hello @elec1123,

    If you are using the SERVER SIDE equations all business logic can be moved to the server side, and you only call the modules from the equations associated to the calculated fields, it is similar to submit the form and process the results in the server side, the business logic won’t be exposed to the users.

    Best regards.

    Thread Starter elec1123

    (@elec1123)

    Thank you.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘How to change multiple id fields at once?’ is closed to new replies.