Template:FieldTypeReturnValues: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:
! Field type !! JavaScript object !! Examples
! Field type !! JavaScript object !! Examples
|-
|-
| width="30%" | Text , Hyperlink, Password, Phone, Email, Calculation (string result) , Single-choice list , Radio buttons
| width="30%" | Text , Hyperlink, Password, Phone, Email, Calculation (string result), Radio buttons, Single-choice list
| width="42%" | [https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String '''String''']
| width="42%" | [https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String '''String''']
| width="28%" | "abc"
| width="28%" | "abc"
Line 19: Line 19:
| true, false
| true, false
|-
|-
| Multiple-choice list, Checkboxes
| Checkboxes, Multiple-choice list
| [https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array '''Array'''] of [https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String '''String''']
| [https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array '''Array'''] of [https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String '''String''']
| ["Shirts", "Pants", "Socks"]
| ["Shirts", "Pants", "Socks"]