There seems to be some kind of bug in webform or I'm doing it wrong. On the preview page of a webform, conditional based selections like checkboxes still display regardless of whether they are selected by the user or not. The code show in the source and a blank space will show if nothing is selected.
I just created a test page with three select components (multiple select checkboxes with only one choice ) and placed component A checkbox (in a fieldset) is on the level above the other two that are within a fieldset as well.
So for example,
Selection 'A' fieldset
>> Selection 'A' checkbox
>>>> Selection 'B' fieldset
>>>>>>>> Selection 'B1' checkbox (separate component)
>>>>>>>> Selection 'B2' checkbox (separate component)
The conditional set is like so.
IF: >> Selection 'A' checkbox is EMPTY
THEN >>>> Selection 'B' fieldset
ISNT SHOWN
The point of all this is that I need to place the selected options checkboxes in a bullet list but the bullets points still show on the preview page with out the words, even if those answers aren't selected. I added the bullets using css. I think the following code from this link might be on the right track but I'm not sure how to get it to work for the preview page.
https://www.drupal.org/node/79086
function phptemplate_webform_form_50 ($form) {
$form['submitted']['First Name']['#id'] = 'edit-submitted-first-name';
$form['submitted']['Last Name']['#id'] = 'edit-submitted-last-name';
$form['submitted']['Fluent in']['#id'] = 'edit-submitted-fluency';
return _phptemplate_callback('webform_form_50', array('form' => $form));
}
Conditions should work. A temp solution would be to hide both the check boxes if Selection 'A' is empty.
Related
i was created select hierarchy ( taxonomy with 3 level), but in default it's show only one level , how i can display all 3 level in default page? :
-Any- + -Any- + -Any-
I do not want it automatically generates other fields! I want to display by default all the select input
Simple Hierarchical select works on the basis of taxonomy term hierarchical structure, meaning consider you selected a term which has child in first drop down. As soon as you select term which has a child term, another drop down box will appear and if you select a term within that box which has another child term in-turn then another drop down will appear. This process continues to any deeper level. So displaying all drop down box by default is not possible as it depends upon user selection in first drop down.
In your case, as far as attached screen shot considered, first drop down's default value is 'none' and as you know 'none' value wont have any child item. So no default display of all drop down.
If you want you could do this, go to your Content Type's 'Manage Fields' section and edit Simple Hierarchical Select field and select default value which has child terms other than none.
I have a requirement to have two custom record types under parent subtab arrange in order. I used parent-child relationship but the arrangement of the child subtab is something I couldnt customize. 'test one' and 'test two' are my custom record types, and Parent is item fulfillment record.
I want 'test one' to come first and then 'test two'.
I tried adding a new Subtab via customization under translation and this order customization is not available in netsuite. Am i missing anything?
Please help.
Edit the record
Click "customize" then "customize form" in the top right of the form
Navigate to "Lists" then select "Communication"
You can drag and drop your prefered order from this screen
Name then save the custom entry form
You can then manually select this form for the record or set it as the default form
If a field is visible on the form, then it appears somewhere in the Custom Entry Form screen. Which tab it's on depends on the type of field. It could be under Lists, or Fields, or elsewhere. Look for it.
When you find it, use the Field Group dropdown to move the field between the main view and sub tabs, and drag/drop the field to change its top-down display order. The drag handle looks like ⋮⋮.
Calling out to css masters at SO!
I have a form that's created with gravity forms.
The logical order of all input fields in the code is
1) Radiobuttons
2) All string/text inputs
3) textarea
I'm trying to make it so that a tab from radiobuttons leads the user to the textarea, and then to the other text input fields but that messed up the looks =\
Any ideas on what I could do?
Try keeping your original layout, but use tab order to set the order in which the tabbing happens:
http://webcheatsheet.com/HTML/controll_tab_order.php
I am creating an infopath form in 2003 where I only want certain sections/controls to appear based on the users choice. I am aware that there are rules and conditions that will have to be applied to this, however I have already added all of the section/fields that need to appear when a user selects an option from the dropdown. My main question is, how do I hide this info on the form? At the moment when I select 'Preview Form' ALL of the sections appear and no option has been chosen yet. How do I hide these until a user makes a selection. I hope answering this question, will help me with the rest of the form.
Thank You~
You are allowed to specify multiple conditions in the conditional formatting options for a section. The easiest way for the section to be hidden on load is to set the conditional formatting for the section to your normal rules OR is blank.
So for example - you have a dropdown that has members Select, Show, Hide. Your conditional formatting on the section should be hide whenever Hide is chosen OR hide whenever Select is chosen (note that the default value of Select for a dropdown is "is blank").
Let's assume you have 1 drop down list and 2 section. Initially the 2 sections should be hidden, when the user selects a value from the drop down list you will show one of these 2 sections based on the ddl selected value.
Add a field to your schema called firstTime with default value 0.
Section 1 will be hidden if firstTime = 0 or ddlChoice = 2
Section 2 will be hidden if firstTime = 0 or ddlChoice = 1
When the ddl index changes set firstTime to 1. This way the first part of the condition won't have any effect and you will only depend on the value of the drop down list to show / hide the sections.
I am having some problems with tabbing within my asp.net pages. This project was developed with Visual Studio 2008.
Case 1
I have two html tables. The first table has two rows; the second table has four rows. Within the cells are of each table are asp.net fields, text boxes and radio button lists. I set focus to the first field of table one. I then press the tab key multiple times. The focus moves through the field of table one and then through the fields in the first row of the table two. Then instead of goes to the second row of the table two it return to the table one.
But if I set focus to the last cell on the first row of table two, it tabs through the remaining cells of table two properly. Can you tell me how to get the tabbing to behave properly and go to the cells in there natural order? Note that I am setting the tab index property in the order that I want.
Case 2
On another page I have an html table with a single row followed by a gridview control. The gridview control is writeable and has the following columns: Check Box, Radio Button List, Text Box, Text Box, Text Box and a Check Box List. If I click on one of Check Box, Radio Button List or Check Box List., then press tab, the cursor pops out of the grid and sets focus on the first field of the table outside the grid. But if I set focus on one of the text boxes and tab; then the tab goes through the fields of the grid left to right one row at a time. This later behavior is what I want in both cases. I don’t know why my cursor pops out of the grid when I start with a field other than a text box.
Please help if you can.
Bob
funny, you explain in details your case but you didn't explain what it needs to be explained in order to someone can understand you :)
first of all, is table1 located in the first tab and table2 in second tab?
what do you used for tabs: asp.net tab control, jquery ui tabs...?
what do you mean by 'press the tab key multiple times'? same tab? do you have postback on tab click? what is the focus in your case, and so on and on...
cheers
Have you checked the order of the input elements in your HTML? Generally the tab order follows the order of controls.
If that all looks right, then make sure nothing is setting the TabIndex property - as this will also mess up the tab order.
I pretty much resolve this and I wanted to add the answer for anyone who viewed this thread. The problem was the autpostback on certain fields. Once I disabled autopostback, the problems went away.
Bob
You need to use Javascript and I referred for your a very good example of navigating through Gridview rows with Up/Down keys.
http://www.codeproject.com/Articles/25675/GridView-Rows-Navigation-Using-Arrow-Up-Down-Keys