178 Posts
Jeka
8 years ago
Topic

Hi Sebloders!

I have difficulties with my message form on site frontend. 

Workaround: 

I use seb minima template with position override. ( mainbody) 

Fields 

---------

Name - text input 

Message text - textarea 

Interest - radio ( Some text = 1, Some text 2 = 2 etc. )

Email Field 1 

Email Field 2 

Button 

---------

What i want to do: 

If user select first option ( value = 1 ) in radio button i want to use "Email Field 1", if user select second option - use "Email Field 2" ( value = 2 ).

I was trying to play with conditional states, but they dont work with heddin fields. 

Then I bought "Seblod Fields restriction plugin" but it does not do the job. 

So the question is how can i trigger different email fields depending on selection of other field ?

Thank for any suggestion

Get a Book for SEBLOD
154 Posts
WebOne
8 years ago
1
Level 1

Why hide the field? Just put it in position HIDDEN or add some css markup to the field with {display:hidden}

178 Posts
Jeka
8 years ago
0
Level 2

Hi. Thank you for answer. So according to it i placed my "email" fields to hidden position. And than i set conditional states to make disable one field depending on selected option from other field. And it works. Great. WebOne.. you got + into your karma ))

My mistake was that i forgot about "disabled" flag in input that indicate that data from that input will be not submitted to server

Get a VIP membership