I have a check box in an InfoPath form, that when checked, at least 1 of these other 18 check boxes have to be checked as well before submitting. However, it appears I can only add 5 conditional statements to a validating rule. When I try to add a validating rule to one of the 18 check boxes, I can only enter in 5 of the remaining 17 check boxes.
What I want is if the original check box is checked, I would like the form to submit only if at least 1 of the other 18 boxes is checked as well. Any ideas?
By using a custom expression in the Validating rules for the check box, I was able to accomplish this.
not((../my:field2 | ../my:field3 | ../my:field4 | ../my:field5 | ../my:field6)[. = "true"])
Related
I have a variable product where users can select different radio options from 3 attributes. The problem is, some attributes options are N/A (as the other attribute option cancels it out.)
EG:
Attribute 1 - Size,
Attribute 2 - Pattern,
Attribute 3 - Colour,
Ie: if a user selects Large + Striped, Colour becomes N/A option only.
or, Small + Red, pattern becomes N/A option only etc.
The issue is, when N/A appears as the only option for attribute 2 / 3, the user doesn't think they have to click anything. Is there some javascript I can add to auto-select the N/A option - if it becomes the only option available within the attribute?
Thank you!
I am looking for the best way to store information that is entered within an Oracle ApEx app that is sectioned off like a wizard.
Basically there are a number of fields on the screen, i.e. text box, text area, select list, checkboxes as well as radiogroup buttons but are not attached to any particular database tables.
What I would like to do is basically have the user enter required answers say on one pane, which might have 5 items in total, i.e., 2 textfields, 1 radiogroup, 1 selectlist and 1 checkbox and when they press the "Next>" button before going to the next pane, store these answers into a ApEx Collection against a particular Id and perform the same process on the following pane of answers entered.
I am using Oracle ApEx 4.1.2. Basically want to store away values on the fly and reuse at a later stage.
As I mentioned in my last comment above, Plouf came through with the goods. I didn't require an ApEx Collection after all - regular items did the trick.
I would like users to be able to create multiple text fields and select "yes" or "no" on one of 3 options for that field.
For instance:
Text field = "24/7 support", option 1=(y/n), option 2=(y/n), option 3= (y/n)
Text field = "bon-bons", option 1=(y/n), option 2=(y/n), option 3= (y/n)
... with up to 25 text fields in that content type.
Does anyone have any idea how to accomplish that?
Basically I need to implement a system, where users can create and edit a "Features list" easily. then assign each one of those features to one of 3 packages.
Sounds like you want a grid field. I don't see how a text field would be useable for this at all.
1) First create a content type with 25 fields and the 3 options you mentioned.
* As per your post you mentioned you only want upto 25 posts .
2) Use jquery for displaying only one field and they can always click on a more link for additional fields.
If you don't know jquery and how to implement this then revert back.
Cheers,
Vishal
Question about the <asp:RadioButtonList> class. I have a 2 row, 3 column DIV setup with Radio Button options like this:
() Option 1 | () Option 2 | () Option 3
-----------------------------------------
() Option 4 | () Option 5 | () Option 6
Reason being is that when users select different options additional info will be displayed via jQuery but I want all the options tied to 1 list so that when Option 1 is selected nothing else is and when Option 5 is selected it deselects Option 1. Basic RadioButtonList type of stuff.
Alas from what I've read/hacked is that with the asp:RBL class you can't enter any html or other code between the tags.
Any thoughts on how to do this? If I keep the ID the same it errors out saying that list already exists...
Thanks for any pointers.
Edit:
I believe I found the solution. Instead of using a RadioButtonList I just used RadioButton and implemented the GroupName option to bind them together. Looks like it's working now.
You have a few choices:
use multiple RadioButtons with the GroupName attribute (as you mentioned)
manipulate them later with JavaScript if you really want to keep using the RadioButtonList
use HTML radio buttons and bind them manually
I suggest the first option as it is the simplest balance of robustness, power, and simplicity.
Ive been tasked with creating a user input form that has a set of defined fields and the ability for the user to add their own fields on the fly. e.g textbox, select box with options etc etc. Has anyone got any ideas on how i could implement this. What do i need to consider?
Also How would i store the data as i wont know the amount of fields. Generally in past projects a field in the input form has mapped to a column in the database.
Any ideas
Thanks in advance
It will need to be stored in a denormalised fashion:
QuestionField
AnswerField
So you'll probably need a Questions table which defines the question and maybe the type of input and any contraints.
You'll then have an answers table which is linked to whatever your entity is. The answers table will have an question and an answer field.
Do your users log into your site? If so you could use a SQL table to store each users controls e.g. :
UserName ControlID ControlType
JohnSmith 1 TextBox
JohnSmith 2 CheckBox
JoeBlogs 3 TextBox
You can then have another table with each controls value within it:
ControlID Value
1 My Text Value
2 False
3 Hi I’m Joe
You can then just do a simple join to get all the users controls and there values. You can also store information such as location/index of the control on screen. Doing it this way you can add more than one value per control, meaning things like list box's will have multipul rows.
If your not using a log in system you could do the same sort of thing but using Cookies.