i am trying to design HTML page of my form
i am pretty new to HTML , can any one help me , how to get the form value to html table field
for example in my html page , i have a table <html><body> <table> <th>emp id</th> <td>here i want to get the employee id entered in the sharepoint form , can anyone help me
It was not evident from your post what type of control DataCardValue22 was (so I assumed Text). I also now see you have used DataCardValue22_1 (I assume this is another control).
To answer your question .Text is used for Text boxes, .Selected.Value would be for dropdown or combo box where the source field was either Choice or LookUp.
@WarrenBelz "<html><body><table><th>" & DataCardValue22_1.Selected.Value & "</th><td></body></html>" actually this worked,
can you tell me where to use .text and where to use selected.value
Hi @jaleefpk ,
Assuming you are using a HTML Text box - it would need (using your HTML)
"<html><body><table><th>" & DataCardValue22.Text & "</th><td>"
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,077
Most Valuable Professional