[ PhoneStyle field=%target_field_1%
,%target_field_2%
]
This shortcode will change the way a phone field looks by adding a dropdown menu for selecting a country. The dropdown will be filled with the correct country for the visitor based on their IP address.
ATTRIBUTE | TYPE | DESCRIPTION | |
---|---|---|---|
%target_field% | #%field_id% or %field_name% | Because the same Field will have the same name if it is on the page multiple times, you may target a specific Field by targeting its #%field_id% .You can use our Free Chrome Plugin to find the ID or name of the field easily. Required. |
You can also add CSS parameters to the shortcode such as :
background-color=
#The background color code
dropdown-divider-color=
#The dropdown divider color code
dropdown-bg-color-hover=
#The hover color code
line-height=
The heigh of the line in pixel ( px )
margin-top/bottom/left/right=
The heigh of the margin in each the direction you choose in pixel ( px )