Hello,
I found some problems:
1. how to create button which i call the data from custom type with additional url. So i have phone number field, but i wanna make a button with url wa.me/[phonenumber]
2. Hidden a field in backend (dashboard page)
I add Number field with default value is 5. I wanna make this field as a conditional to set maximum image multiple upload. Is it possible? if so, how to hidden that field in backend? i tried [data-wpt-id="wpcf-maks-upload"] { display: none } is not working.
Rgds.
Hi,
Thank you for contacting us and I'd be happy to assist.
> 1. how to create button which i call the data from custom type with additional url. So i have phone number field, but i wanna make a button with url wa.me/[phonenumber]
- To achieve this, you can use the Toolset's 'Button' block and instead of using the dynamic URL option, add the link and the phone field's shortcode in the static link field.
( ref: https://toolset.com/documentation/customizing-sites-using-php/functions/#phone )
<em><u>hidden link</u></em> field='book-phone'][/types]
Example screenshot: button-block-example.png
Note: You'll replace 'book-phone' with your phone type field's slug.
> 2. Hidden a field in backend (dashboard page)
I add Number field with default value is 5. I wanna make this field as a conditional to set maximum image multiple upload. Is it possible? if so, how to hidden that field in backend? i tried [data-wpt-id="wpcf-maks-upload"] { display: none } is not working.
- I'm afraid, setting a conditional limit to a repeating field is not supported. You can either add a repeating image field, which can have an infinite number of entries or you can have non-repeating multiple image fields ( e.g. Image 1, Image 2, Image 3... etc )
regards,
Waqar