Okay
  Public Ticket #1651726
WPTables Conditional
Closed

Comments

  • Eduardo started the conversation

    Hello, 

    I want to know how to populate one cell value, of another one? Because I want change another data cell value, when I have to selected a item in list.

    ie: 

    table 01
    1st collumn: name
    2nd collumn: value

    table 02
    1st collumn: name (selectbox)
    2nd collumn: get value of 2nd collumn of table 01 (after selected name ref. 01)

    ps: I am using foreign key but not populate field 2, only first name (in the selectbox)


    Best Regards,

    Eduardo Demar

  • [deleted] replied

    Hi Eduardo,
    Thank you for the inquiry.

    I am not sure that I have fully understand your inquiry. Can you please try to explain me in more details?

    You can try our sandbox site: Front-end & Back-end - you can find a fully functional version there to try out all plugin features.

  • Eduardo replied

    Hi Milos,

    Thank you for assistance.

    I need to know how, when I change one field, another field (row) change in same time by relation of id, for example. 

    ie: John - age 20 / Mary - age 30

    When i change name of John for Mary (in the selectbox), the field age change age 20 to 30 in same time, automatically. Is it possible to do?

    Best Regards,

  • [deleted] replied

    Hi Eduardo,

    Unfortunately something like that is not possible out of the box features and it would require some custom coding. You can take a look at Foreign key: Creating table relations in WordPress tables from our documentation to see what is possible with it.

  • Eduardo replied

    Ok. I already tested, but don't have it. :(

    I made one SQL Query but I don't know where I put this query to process. 

    I could make a button in form to this? 

    Thank you.


  • [deleted] replied

    Hi Eduardo,

    "I made one SQL Query but I don't know where I put this query to process. 

    I could make a button in form to this?"

    - I didn't understand this quite well, can you please try to explain in more details?

  • Eduardo replied

    Hi,

    I need change cell of anothers fields, in the conditional formatting. Actually, just same cell could edit it. Please, see picture in attachment.

    Could you implement this? It will be amazing and important tool. In Gravity Forms the conditional it is like this, and very very proudly.

    Kind Regards,

  • [deleted] replied

    Hi Eduardo,

    Unfortunately something like that is not possible out of the box features and can be achieved just with some custom coding.

  •   Eduardo replied privately
  • [deleted] replied

    Hi Eduardo,

    There is no custom code, than you or your developer would need to customize the plugin code if you want to achieve this feature.