• I’m using the link field quite a lot and one thing i’ve realized is the link exports to CSV just fine if you have both a URL and NAME. It will show in CSV as something like [name of website](https://www.website.com/)

    …but for instance say you only know the NAME and did not provide a URL, the export feature will not capture anything for this type of value. The NAME value is still saved and displayed on the site itself even without a URL so i’m not sure why it shouldn’t also get exported as data.

    For me, this is a big issue and makes me unsure as to whether I can use the link field element unless this gets resolved.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign

    (@xnau)

    That’s a good point, I didn’t think to set it up that way.

    You can change this yourself if you want, on line 3233 of participants-database.php, you’ll find:

    if ( empty( $link[0] ) )
       $value = '';

    you can change that to something like:

    if ( empty( $link[0] ) )
       $value = isset( $value[1] ) ? $value[1] : '';
Viewing 1 replies (of 1 total)
  • The topic ‘Export CSV for Link Field doesn’t capture everything’ is closed to new replies.