set the current unformatted value as data attribute for external methods