• Resolved muntle

    (@muntle)


    We have a client website where we have used Tablepress to create tables of product technical data. Within those tables, we provide a link to a standard enquiry form for a user to ask for additional information. For example, the link will always be in column 7 of the table, and the unique product identifier is provided as text in column 1 of the same line. While the link is standard, the unique product identifier is different on each line.

    As not every user provides the identity for the product they are enquiring about, the client has asked for the unique product identifier to be prepopulated in a separate field on the form. The form plug-in we use has facilities for autofill of a form field, but to provide the unique product identifier we need to be able to extract the unique text from the specific cell – ie column 1 of the same line that the user has clicked the link in column 7.

    Is there an add-on available that will enable us to extract this data for onward processing? We are currently using v1.7 of TablePress.

    Thank You

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I see what you are trying to achieve, but unfortunately, I’m not aware of an existing solution 🙁 Your best shot probably is to use some custom JavaScript code that will loop through the table rows, get the identifier from the first cell, and append that as a URL query parameter to the link. Your form plugin would then have to fill the form field based on that URL parameter.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Extract text from table cell’ is closed to new replies.