Conditionnal field - Display [XXXX] if false...

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 3 months ago #55741 by Baptiste
Hi!

I didn't achieve to solve my problem. Here it is :

I have one radio field (Yes / no).
If user choose Yes, a custom field appears : "BLA BLA BLA BLA". I use a custom field [XXXX] for that. It appears in email and invoice too. That's ok. [XXXX] is well replaced by "BLA BLA BLA BLA".

But if user choose No :
As the condition isn't verified, it's "[XXXXXX]" which is displayed in email and invoice.

How can [XXXXX] be replaced by nothing (" ") if condition is not verified?

(Bonus question : 1. if user choose "yes", and after that "no" : the Custom field is still displayed in the form (not a big problem, but...)).

Thank you!

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #55831 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Conditionnal field - Display [XXXX] if false...
Where it is displayed ? In the registration complete page ? If so, could you send me the link to that page so that I can look at it myself ?

Tuan

Please Log in or Create an account to join the conversation.

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 3 months ago #55837 by Baptiste
Hi Tuan and thank you for your answer,

No, it is displayed in the invoice and the email.

I can't give you an url here, do you want me to send a ticket ith backend access?

Thank you!

Please Log in or Create an account to join the conversation.

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 3 months ago #55942 by Baptiste
Hi Tuan,

I sent you a ticket for this problem,

Thank you,

Baptiste

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #55988 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Conditionnal field - Display [XXXX] if false...
OK Baptiste. I am going to check and solve it later today

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Baptiste
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 3 months ago - 10 years 3 months ago #56371 by Baptiste
This was solved after Tuan made change in my helper.php files.

Thank you!
Last edit: 10 years 3 months ago by Baptiste. Reason: Solved

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #56372 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [Solved]Conditionnal field - Display [XX] if false
Thanks for confirming Baptiste.

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc