I need to get fillable text fields inside tabular environment and since I use other language scripts other than English I need to compile my document using XeTeX engine. The nearest post to this question I have found here, but this has been more than 3 years and 7 months now. The post confirmed the case that it does not work with XeTeX engine, I look forward to any update on this issue:
Below is my MWE:
MWE
\documentclass[a4]{scrartcl}
\usepackage[left=1cm,right=1cm,top=0.5cm,bottom=1cm]{geometry} %showframe
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{hyperref}
\begin{document}
\begin{Form}
\begin{tabular}{ccccccc}
\textbf{No} & \textbf{Name} & \textbf{Code} & \textbf{Request Date} & \textbf{Source} & \textbf{Issue Date} & \textbf{Notes} \\
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.05\textwidth,default=1]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.2\textwidth]{} & \TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.05\textwidth]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.1\textwidth]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.1\textwidth]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.1\textwidth]{} & \TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.2\textwidth]{} \\
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.05\textwidth,default=2]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.2\textwidth]{} & \TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.05\textwidth]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.1\textwidth]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.1\textwidth]{} &
\TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.1\textwidth]{} & \TextField[backgroundcolor=white,borderwidth=1,bordercolor=gray!30,height=20pt,width=0.2\textwidth]{} \\
\end{tabular}
\end{Form}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-engine: xetex
%%% TeX-master: t
%%% End:
Output