I am using the 'cred_child_link_form' shortcode to link to a post form which is working without issue. However, I'd like to pass in an additional parameter to auto-populate one of the fields on the form. It appears from the documentation there is a way to add further attributes, but I'm unsure if this can be used to pass in parameters similar to the way the parent_id is passed in. Since there are no examples in the documentation of this shortcode with additional attributes, can you let me know if this is what that option is meant for, and if so a syntax example?
Is there any documentation that you are following?
Just a quick update, I was able to get the output I was looking for by discarding the shortcode and manually forming the link and inserting field shortcodes per the below. This is more of a work around though, so I'd still like know if this can be done more easily with additional attributes in the cred_child_link_form shortcode.
There is no attribute available to set the additional params that you can pass to URL. So, as far as I can see the workaround you use is the perfect solution in this case.
Understood Minesh, I don't mean to be a bother, but could you kindly let me know what the attributes argument can be used for, the example says additional HTML attributes like onclick, but again there isn't any syntax example so I'm unsure how to implement it and now my curiosity is peaked.