Skip Navigation

[Resolved] select cred field does not take default value

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by nabils 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#914404

Dear
I have a form with a cred field of type select. The select field has 3 options with associated values 1, 2, and 3. In the edit form, I am trying to set the field to a default value 1:
[cred_field field='transaction-payment-type' value='1' urlparam='' select_text='--- not set ---' class='form-control' output='bootstrap']
but what I am getting when I edit the form is the not set option.
It was working before I update to the latest version of toolset.

Regards
Nabil

#914542

Dear Nabil,

The problem you mentioned above is abnormal, if you can confirm there isn't any other compatibility problem in your localhost, please provide a database dump file (ZIP file) of your website in below "private detail box", also point out the problem page URL and CRED form URL, I need to duplicate same problem and debug it in my localhost, thanks.

#914585

Thank you
Indeed is was abnormal.
The problem was with my browser.